cvs: peardoc /fr/core/pear/pear-errorstack -log.xml geterrormessage.xml geterrormessagetemplate.xml geterrors.xml getfileline.xml
getmessagecallback.xml
| From: | Yannick TORRES | Date: | Sat, 24 Jul 2004 00:46:15 +0000 |
| Subject: | cvs: peardoc /fr/core/pear/pear-errorstack -log.xml geterrormessage.xml geterrormessagetemplate.xml geterrors.xml getfileline.xml getmessagecallback.xml |
||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4647@lists.php.net to get a copy of this message | ||
yannick Fri Jul 23 20:46:15 2004 EDT
Added files:
/peardoc/fr/core/pear/pear-errorstack geterrormessagetemplate.xml
geterrormessage.xml
geterrors.xml getfileline.xml
getmessagecallback.xml
-log.xml
Log:
initial translation
http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/geterrormessagetemplate.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/geterrormessagetemplate.xml +++ peardoc/fr/core/pear/pear-errorstack/geterrormessagetemplate.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.geterrormessagetemplate"> <refnamediv> <refname><function>PEAR_ErrorStack::getErrorMessageTemplate</function></refname> <refpurpose>Générateur de canevas du message d'erreur standard pour un code erreur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>PEAR_ErrorStack::getErrorMessageTemplate</function></funcdef> <paramdef>mixed <parameter>$code</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.desc"> &title.desc; <para>Générateur de canevas du message d'erreur standard pour un code erreur</para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$code</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.throws"> &title.throws; <para> Aucune exception n'est lancée. </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/geterrormessage.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/geterrormessage.xml +++ peardoc/fr/core/pear/pear-errorstack/geterrormessage.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.geterrormessage"> <refnamediv> <refname><function>PEAR_ErrorStack::getErrorMessage</function></refname> <refpurpose>Rappel de service de génération de message d'erreur standard</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>PEAR_ErrorStack::getErrorMessage</function></funcdef> <paramdef>PEAR_ErrorStack <parameter>&$stack</parameter></paramdef> <paramdef>array <parameter>$err</parameter></paramdef> <paramdef>string|false<parameter> <optional>$template = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.geterrormessage.desc"> &title.desc; <para> Cette méthode peut également être appelée par un générateur d'erreur personnalisé pour compléter les valeurs d'un canevas en utilisant le tableau de paramètres, passez simplement le nom de la chaîne du canevas représentant le message d'erreur au troisième paramètre. </para> <para> La variable spéciale %__msg% est réservée : utilisez là uniquement pour spécifier l'endroit où un message passé par l'utlisateur doit être placé dans le canevas, comme celà : </para> <para>Message d'erreur : %msg% - erreur interne</para> <para>Si le message est passé comme celà :</para> <para> <programlisting role="php-highlighted"> <?php $stack-><link linkend="core.pear.pear-errorstack.push">push</link>(ERROR_CODE, 'error', array(), 'server error 500'); ?> </programlisting> </para> <para> Le message d'erreur retourné sera : "Message d'erreur : server error 500 - erreur interne" </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessage.param"> &title.param; <para> <variablelist> <varlistentry> <term> <type>PEAR_ErrorStack</type> <parameter>&$stack</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$err</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> <type>string|false</type> <parameter>$template</parameter> </term> <listitem> <para> Canevas de message d'erreurs pré-généré </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessage.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessage.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/geterrors.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/geterrors.xml +++ peardoc/fr/core/pear/pear-errorstack/geterrors.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.geterrors"> <refnamediv> <refname><function>PEAR_ErrorStack::getErrors</function></refname> <refpurpose>Retrouve toutes les erreurs depuis la dernière purge</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>PEAR_ErrorStack::getErrors</function></funcdef> <paramdef>boolean <parameter> <optional>$purge = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.geterrors.desc"> &title.desc; <para>Retrouve toutes les erreurs depuis la dernière purge</para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrors.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.bool; <parameter>$purge</parameter> </term> <listitem> <para> définissez le afin de vider la pile d'erreur </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrors.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrors.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/getfileline.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/getfileline.xml +++ peardoc/fr/core/pear/pear-errorstack/getfileline.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.getfileline"> <refnamediv> <refname><function>PEAR_ErrorStack::getFileLine</function></refname> <refpurpose>Contexte standard de fichier/ligne numéro/fonction/classe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef><replaceable>array|false</replaceable> <function>PEAR_ErrorStack::getFileLine</function></funcdef> <paramdef>array <parameter>$code</parameter></paramdef> <paramdef>unused <parameter>$params</parameter></paramdef> <paramdef>integer <parameter> <optional>$backtrace = &null;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.getfileline.desc"> &title.desc; <para> Cette foncton utilise une backtrace générée depuis la fonction <ulink url="http://www.php.net/debug_backtrace">debug_backtrace</ulink> et donc, ne fonctionnera pas du tout en PHP < 4.3.0. L'armature doit référencé l'armature qui contient la source de l'erreur. </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$code</parameter> </term> <listitem> <para> Résultats de debug_backtrace() </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> <type>unused</type> <parameter>$params</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.int; <parameter>$backtrace</parameter> </term> <listitem> <para> armature de backtrace. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.returns"> &title.returns; <para> <emphasis>retourne</emphasis> soit array('file' => fichier, 'line' => ligne, 'function' => nom de la fonction, 'class' => nom de la classe) ou &false; si celà ne fonctionne pas </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/getmessagecallback.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/getmessagecallback.xml +++ peardoc/fr/core/pear/pear-errorstack/getmessagecallback.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.getmessagecallback"> <refnamediv> <refname><function>PEAR_ErrorStack::getMessageCallback</function></refname> <refpurpose>Récupère un code erreur => rappel du shéma du message d'erreur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef><replaceable>array|string|false</replaceable> <function>PEAR_ErrorStack::getMessageCallback</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.desc"> &title.desc; <para> Cette méthode renvoie le rappel de service courant qui peut être employé pour produire des messages d'erreur </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.returns"> &title.returns; <para> <emphasis>Retourne</emphasis> la méthode/fonction de rappel ou &false; s'il n'y en a pas </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/-log.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/-log.xml +++ peardoc/fr/core/pear/pear-errorstack/-log.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.-log"> <refnamediv> <refname><function>PEAR_ErrorStack::_log</function></refname> <refpurpose>Enregistre une erreur en utilisant PEAR::Log</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>PEAR_ErrorStack::_log</function></funcdef> <paramdef>array <parameter>$err</parameter></paramdef> <paramdef>array <parameter> <optional>$levels = array( 'exception' => PEAR_LOG_CRIT, 'alert' => PEAR_LOG_ALERT, 'critical' => PEAR_LOG_CRIT, 'error' => PEAR_LOG_ERR, 'warning' => PEAR_LOG_WARNING, 'notice' => PEAR_LOG_NOTICE, 'info' => PEAR_LOG_INFO, 'debug' => PEAR_LOG_DEBUG)</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.-log.desc"> &title.desc; <para> Ceci est une fonction protégée et doit uniquement être appelée par une classe enfant qui étend la classe <classname>PEAR_ErrorStack</classname> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.-log.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$err</parameter> </term> <listitem> <para> tableau d'erreurs </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$levels</parameter> </term> <listitem> <para> Degrès d'erreur => Carte de constante d'enregistrement </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.-log.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.-log.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 -->
http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/geterrormessagetemplate.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/geterrormessagetemplate.xml +++ peardoc/fr/core/pear/pear-errorstack/geterrormessagetemplate.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.geterrormessagetemplate"> <refnamediv> <refname><function>PEAR_ErrorStack::getErrorMessageTemplate</function></refname> <refpurpose>Générateur de canevas du message d'erreur standard pour un code erreur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>PEAR_ErrorStack::getErrorMessageTemplate</function></funcdef> <paramdef>mixed <parameter>$code</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.desc"> &title.desc; <para>Générateur de canevas du message d'erreur standard pour un code erreur</para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$code</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.throws"> &title.throws; <para> Aucune exception n'est lancée. </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessagetemplate.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/geterrormessage.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/geterrormessage.xml +++ peardoc/fr/core/pear/pear-errorstack/geterrormessage.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.geterrormessage"> <refnamediv> <refname><function>PEAR_ErrorStack::getErrorMessage</function></refname> <refpurpose>Rappel de service de génération de message d'erreur standard</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>PEAR_ErrorStack::getErrorMessage</function></funcdef> <paramdef>PEAR_ErrorStack <parameter>&$stack</parameter></paramdef> <paramdef>array <parameter>$err</parameter></paramdef> <paramdef>string|false<parameter> <optional>$template = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.geterrormessage.desc"> &title.desc; <para> Cette méthode peut également être appelée par un générateur d'erreur personnalisé pour compléter les valeurs d'un canevas en utilisant le tableau de paramètres, passez simplement le nom de la chaîne du canevas représentant le message d'erreur au troisième paramètre. </para> <para> La variable spéciale %__msg% est réservée : utilisez là uniquement pour spécifier l'endroit où un message passé par l'utlisateur doit être placé dans le canevas, comme celà : </para> <para>Message d'erreur : %msg% - erreur interne</para> <para>Si le message est passé comme celà :</para> <para> <programlisting role="php-highlighted"> <?php $stack-><link linkend="core.pear.pear-errorstack.push">push</link>(ERROR_CODE, 'error', array(), 'server error 500'); ?> </programlisting> </para> <para> Le message d'erreur retourné sera : "Message d'erreur : server error 500 - erreur interne" </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessage.param"> &title.param; <para> <variablelist> <varlistentry> <term> <type>PEAR_ErrorStack</type> <parameter>&$stack</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$err</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> <type>string|false</type> <parameter>$template</parameter> </term> <listitem> <para> Canevas de message d'erreurs pré-généré </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessage.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrormessage.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/geterrors.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/geterrors.xml +++ peardoc/fr/core/pear/pear-errorstack/geterrors.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.geterrors"> <refnamediv> <refname><function>PEAR_ErrorStack::getErrors</function></refname> <refpurpose>Retrouve toutes les erreurs depuis la dernière purge</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>PEAR_ErrorStack::getErrors</function></funcdef> <paramdef>boolean <parameter> <optional>$purge = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.geterrors.desc"> &title.desc; <para>Retrouve toutes les erreurs depuis la dernière purge</para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrors.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.bool; <parameter>$purge</parameter> </term> <listitem> <para> définissez le afin de vider la pile d'erreur </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrors.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.geterrors.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/getfileline.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/getfileline.xml +++ peardoc/fr/core/pear/pear-errorstack/getfileline.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.getfileline"> <refnamediv> <refname><function>PEAR_ErrorStack::getFileLine</function></refname> <refpurpose>Contexte standard de fichier/ligne numéro/fonction/classe</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef><replaceable>array|false</replaceable> <function>PEAR_ErrorStack::getFileLine</function></funcdef> <paramdef>array <parameter>$code</parameter></paramdef> <paramdef>unused <parameter>$params</parameter></paramdef> <paramdef>integer <parameter> <optional>$backtrace = &null;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.getfileline.desc"> &title.desc; <para> Cette foncton utilise une backtrace générée depuis la fonction <ulink url="http://www.php.net/debug_backtrace">debug_backtrace</ulink> et donc, ne fonctionnera pas du tout en PHP < 4.3.0. L'armature doit référencé l'armature qui contient la source de l'erreur. </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$code</parameter> </term> <listitem> <para> Résultats de debug_backtrace() </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> <type>unused</type> <parameter>$params</parameter> </term> <listitem> <para> </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.int; <parameter>$backtrace</parameter> </term> <listitem> <para> armature de backtrace. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.returns"> &title.returns; <para> <emphasis>retourne</emphasis> soit array('file' => fichier, 'line' => ligne, 'function' => nom de la fonction, 'class' => nom de la classe) ou &false; si celà ne fonctionne pas </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getfileline.note"> &title.note; ¬e.shouldstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/getmessagecallback.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/getmessagecallback.xml +++ peardoc/fr/core/pear/pear-errorstack/getmessagecallback.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.getmessagecallback"> <refnamediv> <refname><function>PEAR_ErrorStack::getMessageCallback</function></refname> <refpurpose>Récupère un code erreur => rappel du shéma du message d'erreur</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef><replaceable>array|string|false</replaceable> <function>PEAR_ErrorStack::getMessageCallback</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.desc"> &title.desc; <para> Cette méthode renvoie le rappel de service courant qui peut être employé pour produire des messages d'erreur </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.returns"> &title.returns; <para> <emphasis>Retourne</emphasis> la méthode/fonction de rappel ou &false; s'il n'y en a pas </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.getmessagecallback.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/peardoc/fr/core/pear/pear-errorstack/-log.xml?r=1.1&p=1 Index: peardoc/fr/core/pear/pear-errorstack/-log.xml +++ peardoc/fr/core/pear/pear-errorstack/-log.xml <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <refentry id="core.pear.pear-errorstack.-log"> <refnamediv> <refname><function>PEAR_ErrorStack::_log</function></refname> <refpurpose>Enregistre une erreur en utilisant PEAR::Log</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'PEAR/ErrorStack.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>PEAR_ErrorStack::_log</function></funcdef> <paramdef>array <parameter>$err</parameter></paramdef> <paramdef>array <parameter> <optional>$levels = array( 'exception' => PEAR_LOG_CRIT, 'alert' => PEAR_LOG_ALERT, 'critical' => PEAR_LOG_CRIT, 'error' => PEAR_LOG_ERR, 'warning' => PEAR_LOG_WARNING, 'notice' => PEAR_LOG_NOTICE, 'info' => PEAR_LOG_INFO, 'debug' => PEAR_LOG_DEBUG)</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="core.pear.pear-errorstack.-log.desc"> &title.desc; <para> Ceci est une fonction protégée et doit uniquement être appelée par une classe enfant qui étend la classe <classname>PEAR_ErrorStack</classname> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.-log.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$err</parameter> </term> <listitem> <para> tableau d'erreurs </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$levels</parameter> </term> <listitem> <para> Degrès d'erreur => Carte de constante d'enregistrement </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.-log.throws"> &title.throws; <para> Aucune exception n'est lancé </para> </refsect1> <refsect1 id="core.pear.pear-errorstack.-log.note"> &title.note; ¬e.notstatic; </refsect1> </refentry> <!-- 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 -->