From 37a12bad6c625be2f4df088dfadb72ded9a3389e Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Fri, 2 Nov 2012 04:08:40 +0000 Subject: [PATCH] TRUE -> &true; FALSE -> &false; git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328221 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/yaf/ini.xml | 7 ++++--- reference/yaf/yaf-config-ini.xml | 2 +- reference/yaf/yaf-loader.xml | 4 ++-- reference/yaf/yaf-route-simple.xml | 3 ++- reference/yaf/yaf_dispatcher/autorender.xml | 4 ++-- reference/yaf/yaf_dispatcher/disableview.xml | 2 +- reference/yaf/yaf_route_interface/route.xml | 2 +- reference/yaf/yaf_route_regex/construct.xml | 2 +- reference/yaf/yaf_route_regex/route.xml | 2 +- reference/yaf/yaf_route_rewrite/construct.xml | 2 +- reference/yaf/yaf_route_simple/construct.xml | 2 +- reference/yaf/yaf_route_simple/route.xml | 2 +- reference/yaf/yaf_route_static/route.xml | 2 +- reference/yaf/yaf_route_supervar/route.xml | 4 ++-- reference/yaf/yaf_router/addroute.xml | 2 +- 15 files changed, 22 insertions(+), 20 deletions(-) diff --git a/reference/yaf/ini.xml b/reference/yaf/ini.xml index 0b0d86f94f..1cfc0e02b7 100644 --- a/reference/yaf/ini.xml +++ b/reference/yaf/ini.xml @@ -132,12 +132,12 @@ When this value is On, if Yaf_Loader can not - find a class, it will return FALSE, then give chance to other auto + find a class, it will return &false;, then give chance to other auto load function to be called. When this value is Off, if Yaf_Loader can not - find a class, it will return TRUE, and make the class autoloading + find a class, it will return &true;, and make the class autoloading failed immediately. @@ -150,7 +150,8 @@ When this value is Off(default), - Yaf_Loader::autoload will always return TRUE. + Yaf_Loader::autoload will always return + &true;. diff --git a/reference/yaf/yaf-config-ini.xml b/reference/yaf/yaf-config-ini.xml index fd9cabf48f..13829173d9 100644 --- a/reference/yaf/yaf-config-ini.xml +++ b/reference/yaf/yaf-config-ini.xml @@ -25,7 +25,7 @@ Yaf_Config_Ini utilizes the ยป parse_ini_file() PHP function. Please review this documentation to be aware of its specific behaviors, which propagate - to Yaf_Config_Ini, such as how the special values of "TRUE", "FALSE", + to Yaf_Config_Ini, such as how the special values of "&true;", "&false;", "yes", "no", and "NULL" are handled. diff --git a/reference/yaf/yaf-loader.xml b/reference/yaf/yaf-loader.xml index c3b4813ac9..aeb27155b5 100644 --- a/reference/yaf/yaf-loader.xml +++ b/reference/yaf/yaf-loader.xml @@ -25,9 +25,9 @@ failed, depend on yaf.use_spl_auload, if this config is On Yaf_Loader::autoload will return - FALSE, thus give the chance to other autoload function. if it is Off + &false;, thus give the chance to other autoload function. if it is Off (by default), Yaf_Loader::autoload will return - TRUE, and more important is that a very usefull warning will be triggerd + &true;, and more important is that a very usefull warning will be triggerd (very usefull to find out why a class could not be loaded). diff --git a/reference/yaf/yaf-route-simple.xml b/reference/yaf/yaf-route-simple.xml index 6c243e5367..e0b00d3652 100644 --- a/reference/yaf/yaf-route-simple.xml +++ b/reference/yaf/yaf-route-simple.xml @@ -20,7 +20,8 @@ module, what key is controller, and what key is action. - Yaf_Route_Simple::route will always return TRUE, + Yaf_Route_Simple::route will always return + &true;, so it is important put Yaf_Route_Simple in the front of the Route stack, otherwise all the other routes will not be called. diff --git a/reference/yaf/yaf_dispatcher/autorender.xml b/reference/yaf/yaf_dispatcher/autorender.xml index 29483f2b09..f8bcd868ad 100644 --- a/reference/yaf/yaf_dispatcher/autorender.xml +++ b/reference/yaf/yaf_dispatcher/autorender.xml @@ -16,10 +16,10 @@ Yaf_Dispatcher will render automatically after dispatches a incoming request, you can prevent the rendering by calling - this method with flag TRUE + this method with flag &true; - you can simply return FALSE in a action to prevent the auto-rendering of + you can simply return &false; in a action to prevent the auto-rendering of that action diff --git a/reference/yaf/yaf_dispatcher/disableview.xml b/reference/yaf/yaf_dispatcher/disableview.xml index e83162830f..55bc6c99a7 100644 --- a/reference/yaf/yaf_dispatcher/disableview.xml +++ b/reference/yaf/yaf_dispatcher/disableview.xml @@ -17,7 +17,7 @@ disable view engine, used in some app that user will output by theirself - you can simply return FALSE in a action to prevent the auto-rendering of + you can simply return &false; in a action to prevent the auto-rendering of that action diff --git a/reference/yaf/yaf_route_interface/route.xml b/reference/yaf/yaf_route_interface/route.xml index 08bf3cfc64..7d238630a5 100644 --- a/reference/yaf/yaf_route_interface/route.xml +++ b/reference/yaf/yaf_route_interface/route.xml @@ -18,7 +18,7 @@ that a custom route should implement. - if this method return TRUE, then the route process will be end. otherwise, + if this method return &true;, then the route process will be end. otherwise, Yaf_Router will call next route in the route stack to route request. diff --git a/reference/yaf/yaf_route_regex/construct.xml b/reference/yaf/yaf_route_regex/construct.xml index 5dac5a885a..e243d4b221 100644 --- a/reference/yaf/yaf_route_regex/construct.xml +++ b/reference/yaf/yaf_route_regex/construct.xml @@ -33,7 +33,7 @@ A complete Regex pattern, will be used to match a request uri, if doesn't matched, Yaf_Route_Regex will return - FALSE. + &false;. diff --git a/reference/yaf/yaf_route_regex/route.xml b/reference/yaf/yaf_route_regex/route.xml index d3ad68116e..9e06756581 100644 --- a/reference/yaf/yaf_route_regex/route.xml +++ b/reference/yaf/yaf_route_regex/route.xml @@ -40,7 +40,7 @@ If the pattern given by the first parameter of Yaf_Route_Regex::_construct matche the request - uri, return TRUE, otherwise return FALSE. + uri, return &true;, otherwise return &false;. diff --git a/reference/yaf/yaf_route_rewrite/construct.xml b/reference/yaf/yaf_route_rewrite/construct.xml index 8636d8b9e2..a29aca78fa 100644 --- a/reference/yaf/yaf_route_rewrite/construct.xml +++ b/reference/yaf/yaf_route_rewrite/construct.xml @@ -32,7 +32,7 @@ A pattern, will be used to match a request uri, if doesn't matched, Yaf_Route_Rewrite will return - FALSE. + &false;. diff --git a/reference/yaf/yaf_route_simple/construct.xml b/reference/yaf/yaf_route_simple/construct.xml index a10a6dac10..e8be66bc74 100644 --- a/reference/yaf/yaf_route_simple/construct.xml +++ b/reference/yaf/yaf_route_simple/construct.xml @@ -58,7 +58,7 @@ &reftitle.returnvalues; - Always return TRUE. + Always return &true;. diff --git a/reference/yaf/yaf_route_simple/route.xml b/reference/yaf/yaf_route_simple/route.xml index 62219278bb..9b85e1f6cb 100644 --- a/reference/yaf/yaf_route_simple/route.xml +++ b/reference/yaf/yaf_route_simple/route.xml @@ -38,7 +38,7 @@ &reftitle.returnvalues; - always be TRUE + always be &true; diff --git a/reference/yaf/yaf_route_static/route.xml b/reference/yaf/yaf_route_static/route.xml index 7d752cdd40..593632548b 100644 --- a/reference/yaf/yaf_route_static/route.xml +++ b/reference/yaf/yaf_route_static/route.xml @@ -38,7 +38,7 @@ &reftitle.returnvalues; - always be TRUE + always be &true; diff --git a/reference/yaf/yaf_route_supervar/route.xml b/reference/yaf/yaf_route_supervar/route.xml index 8b2a411fe7..f9cf4a8182 100644 --- a/reference/yaf/yaf_route_supervar/route.xml +++ b/reference/yaf/yaf_route_supervar/route.xml @@ -39,8 +39,8 @@ &reftitle.returnvalues; If there is a key(which was defined in - Yaf_Route_Supervar::__construct) in $_GET, return TRUE. - otherwise return FALSE. + Yaf_Route_Supervar::__construct) in $_GET, return &true;. + otherwise return &false;. diff --git a/reference/yaf/yaf_router/addroute.xml b/reference/yaf/yaf_router/addroute.xml index a69022fedb..2a662fe00d 100644 --- a/reference/yaf/yaf_router/addroute.xml +++ b/reference/yaf/yaf_router/addroute.xml @@ -20,7 +20,7 @@ the newer route will be called before the older(route stack), and if the newer router return - TRUE, the router process will be end. otherwise, the older one will be + &true;, the router process will be end. otherwise, the older one will be called.