didou Sun Feb 4 22:49:08 2007 UTC
Modified files: /phpdoc/en/reference/errorfunc/functions debug-print-backtrace.xml error-get-last.xml error-log.xml error-reporting.xml restore-error-handler.xml set-error-handler.xml set-exception-handler.xml trigger-error.xml user-error.xml Log: Clean up files (ws, missing roles, layout)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/debug-print-backtrace.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/debug-print-backtrace.xml diff -u phpdoc/en/reference/errorfunc/functions/debug-print-backtrace.xml:1.3 phpdoc/en/reference/errorfunc/functions/debug-print-backtrace.xml:1.4 --- phpdoc/en/reference/errorfunc/functions/debug-print-backtrace.xml:1.3 Sat Nov 13 17:58:53 2004 +++ phpdoc/en/reference/errorfunc/functions/debug-print-backtrace.xml Sun Feb 4 22:49:08 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.debug-print-backtrace"> <refnamediv> <refname>debug_print_backtrace</refname> @@ -7,12 +7,13 @@ Prints a backtrace </refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>debug_print_backtrace</methodname> - <void/> - </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>debug_print_backtrace</methodname> + <void/> + </methodsynopsis> <para> <function>debug_print_backtrace</function> prints a PHP backtrace. It prints the function calls, included/required files and @@ -34,13 +35,12 @@ </para> </refsect1> - <refsect1 role="examples"> &reftitle.examples; <para> - <example> - <title><function>debug_print_backtrace</function> example</title> - <programlisting role="php"> + <example> + <title><function>debug_print_backtrace</function> example</title> + <programlisting role="php"> <![CDATA[ <?php // include.php file @@ -60,8 +60,10 @@ a(); ?> - - +]]> + </programlisting> + <programlisting role="php"> +<![CDATA[ <?php // test.php file // this is the file you should run http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/error-get-last.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/error-get-last.xml diff -u phpdoc/en/reference/errorfunc/functions/error-get-last.xml:1.1 phpdoc/en/reference/errorfunc/functions/error-get-last.xml:1.2 --- phpdoc/en/reference/errorfunc/functions/error-get-last.xml:1.1 Thu Nov 9 08:37:32 2006 +++ phpdoc/en/reference/errorfunc/functions/error-get-last.xml Sun Feb 4 22:49:08 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="function.error-get-last"> <refnamediv> <refname>error_get_last</refname> @@ -11,8 +11,11 @@ <type>array</type><methodname>error_get_last</methodname> <void/> </methodsynopsis> - + <para> + Gets information about the last error that occured. + </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/error-log.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/error-log.xml diff -u phpdoc/en/reference/errorfunc/functions/error-log.xml:1.15 phpdoc/en/reference/errorfunc/functions/error-log.xml:1.16 --- phpdoc/en/reference/errorfunc/functions/error-log.xml:1.15 Sat Jan 20 22:21:41 2007 +++ phpdoc/en/reference/errorfunc/functions/error-log.xml Sun Feb 4 22:49:08 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 --> +<!-- $Revision: 1.16 $ --> <refentry id="function.error-log"> <refnamediv> <refname>error_log</refname> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/error-reporting.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/error-reporting.xml diff -u phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.16 phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.17 --- phpdoc/en/reference/errorfunc/functions/error-reporting.xml:1.16 Fri Jan 26 10:24:53 2007 +++ phpdoc/en/reference/errorfunc/functions/error-reporting.xml Sun Feb 4 22:49:08 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 --> +<!-- $Revision: 1.17 $ --> <refentry id="function.error-reporting"> <refnamediv> <refname>error_reporting</refname> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml diff -u phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml:1.13 phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml:1.14 --- phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml:1.13 Tue Nov 29 13:36:54 2005 +++ phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml Sun Feb 4 22:49:08 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 --> +<!-- $Revision: 1.14 $ --> <refentry id="function.restore-error-handler"> <refnamediv> <refname>restore_error_handler</refname> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/set-error-handler.xml?r1=1.35&r2=1.36&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.35 phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.36 --- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.35 Sun Jan 14 19:43:52 2007 +++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml Sun Feb 4 22:49:08 2007 @@ -1,12 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.35 $ --> -<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 --> +<!-- $Revision: 1.36 $ --> <refentry id="function.set-error-handler"> <refnamediv> <refname>set_error_handler</refname> - <refpurpose> - Sets a user-defined error handler function - </refpurpose> + <refpurpose>Sets a user-defined error handler function</refpurpose> </refnamediv> <refsect1 role="description"> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml diff -u phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.9 phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.10 --- phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.9 Tue Jan 16 01:24:43 2007 +++ phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml Sun Feb 4 22:49:08 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry id="function.set-exception-handler"> <refnamediv> <refname>set_exception_handler</refname> @@ -7,6 +7,7 @@ Sets a user-defined exception handler function </refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -18,13 +19,9 @@ try/catch block. Execution will stop after the <parameter>exception_handler</parameter> is called. </para> - <para> - The <parameter>exception_handler</parameter> must be defined before calling - <function>set_exception_handler</function>. This handler function needs to accept - one parameter, which will be the exception object that was thrown. - </para> </refsect1> - <refsect1 role="parameter"> + + <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> @@ -32,13 +29,18 @@ <term><parameter>exception_handler</parameter></term> <listitem> <para> - Name of the function to be called when an uncaught exception occurs. + Name of the function to be called when an uncaught exception occurs. + This function must be defined before calling + <function>set_exception_handler</function>. This handler function + needs to accept one parameter, which will be the exception object that + was thrown. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> @@ -46,6 +48,7 @@ no previous handler was defined, &null; is also returned. </para> </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -68,6 +71,7 @@ </example> </para> </refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -78,6 +82,7 @@ <link linkend="language.exceptions">PHP 5 Exceptions</link>. </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/trigger-error.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/trigger-error.xml diff -u phpdoc/en/reference/errorfunc/functions/trigger-error.xml:1.12 phpdoc/en/reference/errorfunc/functions/trigger-error.xml:1.13 --- phpdoc/en/reference/errorfunc/functions/trigger-error.xml:1.12 Sun Apr 24 23:19:35 2005 +++ phpdoc/en/reference/errorfunc/functions/trigger-error.xml Sun Feb 4 22:49:08 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 --> +<!-- $Revision: 1.13 $ --> <refentry id="function.trigger-error"> <refnamediv> <refname>trigger_error</refname> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/user-error.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/errorfunc/functions/user-error.xml diff -u phpdoc/en/reference/errorfunc/functions/user-error.xml:1.6 phpdoc/en/reference/errorfunc/functions/user-error.xml:1.7 --- phpdoc/en/reference/errorfunc/functions/user-error.xml:1.6 Sun Apr 24 23:19:35 2005 +++ phpdoc/en/reference/errorfunc/functions/user-error.xml Sun Feb 4 22:49:08 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 --> +<!-- $Revision: 1.7 $ --> <refentry id="function.user-error"> <refnamediv> <refname>user_error</refname> @@ -10,8 +9,7 @@ <refsect1 role="description"> &reftitle.description; <para> - &info.function.alias; - <function>trigger_error</function>. + &info.function.alias; <function>trigger_error</function>. </para> </refsect1> </refentry>