cvs: phpdoc /en/reference/errorfunc/functions set-exception-handler.xml

From: Date: Thu, 02 Jun 2005 11:07:55 +0000
Subject: cvs: phpdoc /en/reference/errorfunc/functions set-exception-handler.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368398@lists.php.net to get a copy of this message
mazzanet Thu Jun 2 07:07:55 2005 EDT Modified files: /phpdoc/en/reference/errorfunc/functions set-exception-handler.xml Log: Fix doubling up + minor rewording http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml diff -u phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.6 phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.7 --- phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml:1.6 Thu Jan 20 07:44:05 2005 +++ phpdoc/en/reference/errorfunc/functions/set-exception-handler.xml Thu Jun 2 07:07:55 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.set-exception-handler"> <refnamediv> <refname>set_exception_handler</refname> @@ -20,22 +20,8 @@ </para> <para> The <parameter>exception_handler</parameter> must be defined before calling - <function>set_exception_handler</function>. This function needs to accept + <function>set_exception_handler</function>. This handler function needs to accept one parameter, which will be the exception object that was thrown. - <methodsynopsis> - <methodname><replaceable>exception_handler</replaceable></methodname> - <methodparam><type>object</type><parameter>exception</parameter></methodparam> - </methodsynopsis> - <variablelist> - <varlistentry> - <term><parameter>exception</parameter></term> - <listitem> - <para> - Name of function to be called when an uncaught exception occurs. - </para> - </listitem> - </varlistentry> - </variablelist> </para> </refsect1> <refsect1> @@ -46,7 +32,7 @@ <term><parameter>exception_handler</parameter></term> <listitem> <para> - Name of function to be called when an uncaught exception occurs. + Name of the function to be called when an uncaught exception occurs. </para> </listitem> </varlistentry> @@ -56,7 +42,7 @@ <refsect1> &reftitle.returnvalues; <para> - Returns the previously defined exception handler, or &false; on error. If + Returns the name of the previously defined exception handler, or &false; on error. If no previous handler was defined, an empty string is returned. </para> </refsect1>

« previous php.doc (#969368398) next »