svn: /phpdoc/en/trunk/reference/spl/functions/ spl-autoload-register.xml
| From: | Etienne Kneuss | Date: | Mon, 08 Feb 2010 23:59:42 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/spl/functions/ spl-autoload-register.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6042@lists.php.net to get a copy of this message | ||
colder Mon, 08 Feb 2010 23:59:42 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294777
Log:
Add doc about 2 missing parameters of spl_autoload_register
Changed paths:
U phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml
Modified: phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml
===================================================================
--- phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml 2010-02-08 23:14:33 UTC (rev
294776)
+++ phpdoc/en/trunk/reference/spl/functions/spl-autoload-register.xml 2010-02-08 23:59:42 UTC (rev
294777)
@@ -10,6 +10,8 @@
<methodsynopsis>
<type>bool</type><methodname>spl_autoload_register</methodname>
<methodparam
choice="opt"><type>callback</type><parameter>autoload_function</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>throw</parameter><initializer>true</initializer></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>prepend</parameter><initializer>false</initializer></methodparam>
</methodsynopsis>
<para>
Register a function with the spl provided __autoload stack. If the stack
@@ -43,6 +45,25 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>throw</parameter></term>
+ <listitem>
+ <para>
+ This parameter specifies whether
+ <function>spl_autoload_register</function> should throw
+ exceptions on error.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>prepend</parameter></term>
+ <listitem>
+ <para>
+ If true, <function>spl_autoload_register</function> will prepend
+ the autoloader on the autoload stack instead of appending it.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>