From c013b5e5014ee7c853fc811d161fbd09cc1c537e Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Tue, 16 Oct 2012 03:49:20 +0000 Subject: [PATCH] add the rule of name transfering git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328044 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/yaf/ini.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/reference/yaf/ini.xml b/reference/yaf/ini.xml index accc16e18d..bdf39093cd 100644 --- a/reference/yaf/ini.xml +++ b/reference/yaf/ini.xml @@ -243,13 +243,27 @@ - Only works as of PHP 5.3, if this value is On, All class of Yaf will + Only works as of PHP 5.3, if this value is On, All classes of Yaf will named in namespace style. - For example, Yaf_Route_Rewrite => \Yaf\Route\Rewrite, - Yaf_Controller_Abstract => \Yaf\Controller_Abstract (Abstract is the - keyword, can not used as a class name) + For example: + + \Yaf\Route\Rewrite +Yaf_Request_Http => \Yaf\Request\Http + ]]> + + There is a exception, that is some classes like + Yaf_Controller_Abstract. + The last component is a keyword of PHP, could not be used as a class + name, so for such classes: + + \Yaf\Controller_Abstract +Yaf_Route_Static => \Yaf\Route_Static + ]]> +