svn: /phpdoc/en/trunk/reference/yaf/ yaf-loader.xml
| From: | Xinchen Hui | Date: | Sat, 26 Nov 2011 05:19:57 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/yaf/ yaf-loader.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9075@lists.php.net to get a copy of this message | ||
laruence Sat, 26 Nov 2011 05:19:57 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319900
Log:
update docs
Changed paths:
U phpdoc/en/trunk/reference/yaf/yaf-loader.xml
Modified: phpdoc/en/trunk/reference/yaf/yaf-loader.xml
===================================================================
--- phpdoc/en/trunk/reference/yaf/yaf-loader.xml 2011-11-26 05:13:58 UTC (rev 319899)
+++ phpdoc/en/trunk/reference/yaf/yaf-loader.xml 2011-11-26 05:19:57 UTC (rev 319900)
@@ -36,7 +36,7 @@
</para>
<para>
- <programlisting role="php">
+ <programlisting role="bash">
<![CDATA[
// Assuming the following configure in php.ini:
yaf.libraray = "/global_dir"
@@ -63,7 +63,15 @@
class GLO_Name =>
// /global_dir/Glo/Name.php
-//as of PHP 5.3, you can use namespace
+class BarNon_Test
+ // /global_dir/Barnon/Test.php
+]]>
+ </programlisting>
+
+ As of PHP 5.3, you can use namespace, in this case you need open the
+ <link linkend="yaf.configuration">yaf.use_namespace</link> on, then:
+ <programlisting role="bash">
+<![CDATA[
class \Foo\Bar\Dummy =>
// APPLICATION_PATH/library/Foo/Bar/Dummy.php
@@ -74,8 +82,8 @@
</para>
<para>
- You may noticed that all the folder is Ucfisted, you can make them all
- lowcase by set yaf.lowcase_path = On in php.ini
+ You may noticed that all the folder wth the first letter capitalized, you can make them
+ lowercase by set <link
linkend="yaf.configuration">yaf.lowcase_path</link> = On in php.ini
</para>
</section>
<!-- }}} -->