TRUE -> &true; FALSE -> &false;

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328221 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Xinchen Hui 2012-11-02 04:08:40 +00:00
parent 6c587238ab
commit 37a12bad6c
15 changed files with 22 additions and 20 deletions

View file

@ -132,12 +132,12 @@
<listitem>
<para>
When this value is On, if <classname>Yaf_Loader</classname> 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.
</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
find a class, it will return &true;, and make the class autoloading
failed immediately.
</para>
<note>
@ -150,7 +150,8 @@
</note>
<para>
When this value is Off(default),
<methodname>Yaf_Loader::autoload</methodname> will always return TRUE.
<methodname>Yaf_Loader::autoload</methodname> will always return
&true;.
</para>
</listitem>
</varlistentry>

View file

@ -25,7 +25,7 @@
<para>
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.
</para>
</note>

View file

@ -25,9 +25,9 @@
failed, depend on <link
linkend="ini.yaf.use-spl-autoload">yaf.use_spl_auload</link>, if this
config is On <methodname>Yaf_Loader::autoload</methodname> 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), <methodname>Yaf_Loader::autoload</methodname> 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).
<note>
<para>

View file

@ -20,7 +20,8 @@
module, what key is controller, and what key is action.
</para>
<para>
<methodname>Yaf_Route_Simple::route</methodname> will always return TRUE,
<methodname>Yaf_Route_Simple::route</methodname> will always return
&true;,
so it is important put <classname>Yaf_Route_Simple</classname> in the front of the Route stack,
otherwise all the other routes will not be called.
</para>

View file

@ -16,10 +16,10 @@
<para>
<classname>Yaf_Dispatcher</classname> will render automatically after
dispatches a incoming request, you can prevent the rendering by calling
this method with <parameter>flag</parameter> TRUE
this method with <parameter>flag</parameter> &true;
<note>
<para>
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
</para>
</note>

View file

@ -17,7 +17,7 @@
disable view engine, used in some app that user will output by theirself
<note>
<para>
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
</para>
</note>

View file

@ -18,7 +18,7 @@
that a custom route should implement.
</para>
<para>
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,
<classname>Yaf_Router</classname> will call next route in the route stack
to route request.
</para>

View file

@ -33,7 +33,7 @@
<para>
A complete Regex pattern, will be used to match a request uri, if
doesn't matched, <classname>Yaf_Route_Regex</classname> will return
FALSE.
&false;.
</para>
</listitem>
</varlistentry>

View file

@ -40,7 +40,7 @@
<para>
If the pattern given by the first parameter of
<methodname>Yaf_Route_Regex::_construct</methodname> matche the request
uri, return TRUE, otherwise return FALSE.
uri, return &true;, otherwise return &false;.
</para>
</refsect1>

View file

@ -32,7 +32,7 @@
<para>
A pattern, will be used to match a request uri, if
doesn't matched, <classname>Yaf_Route_Rewrite</classname> will return
FALSE.
&false;.
</para>
</listitem>
</varlistentry>

View file

@ -58,7 +58,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Always return TRUE.
Always return &true;.
</para>
</refsect1>

View file

@ -38,7 +38,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
always be TRUE
always be &true;
</para>
</refsect1>

View file

@ -38,7 +38,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
always be TRUE
always be &true;
</para>
</refsect1>

View file

@ -39,8 +39,8 @@
&reftitle.returnvalues;
<para>
If there is a key(which was defined in
<methodname>Yaf_Route_Supervar::__construct</methodname>) in $_GET, return TRUE.
otherwise return FALSE.
<methodname>Yaf_Route_Supervar::__construct</methodname>) in $_GET, return &true;.
otherwise return &false;.
</para>
</refsect1>

View file

@ -20,7 +20,7 @@
</para>
<para>
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.
</para>
</refsect1>