svn: /phpdoc/en/trunk/reference/yaf/ ini.xml
| From: | Xinchen Hui | Date: | Fri, 02 Nov 2012 03:43:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/yaf/ ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-10646@lists.php.net to get a copy of this message | ||
laruence Fri, 02 Nov 2012 03:43:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=328220
Log:
add comment about working with other loaders
Changed paths:
U phpdoc/en/trunk/reference/yaf/ini.xml
Modified: phpdoc/en/trunk/reference/yaf/ini.xml
===================================================================
--- phpdoc/en/trunk/reference/yaf/ini.xml 2012-11-01 21:54:27 UTC (rev 328219)
+++ phpdoc/en/trunk/reference/yaf/ini.xml 2012-11-02 03:43:03 UTC (rev 328220)
@@ -135,8 +135,20 @@
find a class, it will return FALSE, then give chance to other auto
load function to be called.
</para>
-
<para>
+ When this value is Off, if <classname>Yaf_Loader</classname> can not
+ find a class, it will return TRUE, and make the class autoloading
+ failed immediately.
+ </para>
+ <note>
+ <para>
+ Yaf will register its loader during a instantiation of
+ <classname>Yaf_Application</classname>, so any other auto loaders
+ which is register before the instantiation will be called before
+ <methodname>Yaf_Loader::autoload</methodname>.
+ </para>
+ </note>
+ <para>
When this value is Off(default),
<methodname>Yaf_Loader::autoload</methodname> will always return TRUE.
</para>