cvs: peardoc /fr/core/pear pear-errorstack.xml
| From: | Yannick TORRES | Date: | Sun, 07 Nov 2004 13:30:19 +0000 |
| Subject: | cvs: peardoc /fr/core/pear pear-errorstack.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5097@lists.php.net to get a copy of this message | ||
yannick Sun Nov 7 08:30:19 2004 EDT
Added files:
/peardoc/fr/core/pear pear-errorstack.xml
Log:
initial translation
http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack.xml?r=1.1&p=1
Index: peardoc/fr/core/pear/pear-errorstack.xml
+++ peardoc/fr/core/pear/pear-errorstack.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
<sect1 id="core.pear.pear-errorstack">
<title>Intelligent Error Handling with PEAR_ErrorStack</title>
<titleabbrev>PEAR_ErrorStack</titleabbrev>
<para>
PEAR_ErrorStack est une implémentation expérimentale de gestion
d'erreur pour PEAR
qui est voué à remplacer PEAR_Error lorsqu'il sera stale.
PEAR_ErrorStack est compatible
avec PEAR_Error mais aussi avec la classe gérant les exceptions en PHP 5.
Il y a beaucoup d'autres fonctionnalités, toutes décrites dans
l'introduction.
</para>
<para>Utilisation :
<programlisting role="php-highlighted">
1 // pile d'erreurs globales
2 $global_stack = &PEAR_ErrorStack::<link
linkend="core.pear.pear-errorstack.singleton">singleton</link>('MyPackage');
3 // pile d'erreurs locales
4 $local_stack = new <link
linkend="core.pear.pear-errorstack.pear-errorstack">PEAR_ErrorStack</link>('MyPackage');
</programlisting>
</para>
&core.pear.pear-errorstack.intro;
&core.pear.pear-errorstack.pear-errorstack;
&core.pear.pear-errorstack.geterrormessage;
&core.pear.pear-errorstack.geterrormessagetemplate;
&core.pear.pear-errorstack.geterrors;
&core.pear.pear-errorstack.getfileline;
&core.pear.pear-errorstack.getmessagecallback;
&core.pear.pear-errorstack.haserrors;
&core.pear.pear-errorstack.pop;
&core.pear.pear-errorstack.popcallback;
&core.pear.pear-errorstack.push;
&core.pear.pear-errorstack.pushcallback;
&core.pear.pear-errorstack.raiseerror;
&core.pear.pear-errorstack.setcontextcallback;
&core.pear.pear-errorstack.setdefaultcallback;
&core.pear.pear-errorstack.setdefaultlogger;
&core.pear.pear-errorstack.seterrormessagetemplate;
&core.pear.pear-errorstack.setlogger;
&core.pear.pear-errorstack.setmessagecallback;
&core.pear.pear-errorstack.singleton;
&core.pear.pear-errorstack.staticgeterrors;
&core.pear.pear-errorstack.statichaserrors;
&core.pear.pear-errorstack.staticpopcallback;
&core.pear.pear-errorstack.staticpush;
&core.pear.pear-errorstack.staticpushcallback;
&core.pear.pear-errorstack.-log;
&core.pear.pear-errorstack.constants;
</sect1>
<!-- Generated by phpDocumentor v 1.3.0RC3 http://www.phpdoc.org -->
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->