Explorar el Código

[MANUAL] English:

- manual fixes
- unified FALSE, TRUE and NULL

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20115 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas hace 16 años
padre
commit
94efef28d4
Se han modificado 84 ficheros con 600 adiciones y 416 borrados
  1. 2 2
      documentation/manual/en/module_specs/Zend_Application-AvailableResources-Mail.xml
  2. 2 2
      documentation/manual/en/module_specs/Zend_Cache-Cache_Manager.xml
  3. 4 4
      documentation/manual/en/module_specs/Zend_CodeGenerator-Reference.xml
  4. 1 1
      documentation/manual/en/module_specs/Zend_Date-Constants.xml
  5. 18 7
      documentation/manual/en/module_specs/Zend_Db_Adapter.xml
  6. 2 2
      documentation/manual/en/module_specs/Zend_Db_Profiler.xml
  7. 6 4
      documentation/manual/en/module_specs/Zend_Db_Select.xml
  8. 3 4
      documentation/manual/en/module_specs/Zend_Db_Table.xml
  9. 3 2
      documentation/manual/en/module_specs/Zend_Db_Table_Rowset.xml
  10. 1 1
      documentation/manual/en/module_specs/Zend_Dojo-Data.xml
  11. 10 9
      documentation/manual/en/module_specs/Zend_Dojo-Form-Elements.xml
  12. 1 1
      documentation/manual/en/module_specs/Zend_Dojo-View-Helpers.xml
  13. 16 12
      documentation/manual/en/module_specs/Zend_Feed_Reader.xml
  14. 5 5
      documentation/manual/en/module_specs/Zend_File_Transfer-Filters.xml
  15. 9 7
      documentation/manual/en/module_specs/Zend_File_Transfer-Introduction.xml
  16. 10 9
      documentation/manual/en/module_specs/Zend_File_Transfer-Validators.xml
  17. 4 3
      documentation/manual/en/module_specs/Zend_Filter-Compress.xml
  18. 2 1
      documentation/manual/en/module_specs/Zend_Filter-Encryption.xml
  19. 1 1
      documentation/manual/en/module_specs/Zend_Filter-Null.xml
  20. 2 2
      documentation/manual/en/module_specs/Zend_Filter.xml
  21. 2 2
      documentation/manual/en/module_specs/Zend_Form-Advanced.xml
  22. 19 16
      documentation/manual/en/module_specs/Zend_Form-Elements.xml
  23. 5 5
      documentation/manual/en/module_specs/Zend_Form-Forms.xml
  24. 2 2
      documentation/manual/en/module_specs/Zend_Form-QuickStart.xml
  25. 3 3
      documentation/manual/en/module_specs/Zend_Form-StandardDecorators.xml
  26. 5 5
      documentation/manual/en/module_specs/Zend_Form-StandardElements.xml
  27. 3 2
      documentation/manual/en/module_specs/Zend_Gdata_Calendar.xml
  28. 1 1
      documentation/manual/en/module_specs/Zend_Gdata_Spreadsheets.xml
  29. 1 1
      documentation/manual/en/module_specs/Zend_Gdata_YouTube.xml
  30. 3 3
      documentation/manual/en/module_specs/Zend_Http_Client-Adapters.xml
  31. 9 7
      documentation/manual/en/module_specs/Zend_Http_Client-Advanced.xml
  32. 29 15
      documentation/manual/en/module_specs/Zend_Http_Client.xml
  33. 35 16
      documentation/manual/en/module_specs/Zend_Http_Cookie-Handling.xml
  34. 25 19
      documentation/manual/en/module_specs/Zend_Http_Response.xml
  35. 10 7
      documentation/manual/en/module_specs/Zend_Json-Server.xml
  36. 5 4
      documentation/manual/en/module_specs/Zend_Layout-Options.xml
  37. 4 4
      documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Attribute.xml
  38. 5 3
      documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Dn.xml
  39. 7 6
      documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Node-RootDse.xml
  40. 11 10
      documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Node-Schema.xml
  41. 9 7
      documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Node.xml
  42. 4 4
      documentation/manual/en/module_specs/Zend_Loader-Autoloader.xml
  43. 1 1
      documentation/manual/en/module_specs/Zend_Loader.xml
  44. 8 6
      documentation/manual/en/module_specs/Zend_Locale-DatesTimes.xml
  45. 6 5
      documentation/manual/en/module_specs/Zend_Locale-Functions.xml
  46. 8 7
      documentation/manual/en/module_specs/Zend_Locale-Parsing.xml
  47. 2 2
      documentation/manual/en/module_specs/Zend_Log-Writers-ZendMonitor.xml
  48. 4 2
      documentation/manual/en/module_specs/Zend_Mime.xml
  49. 6 4
      documentation/manual/en/module_specs/Zend_Mime_Message.xml
  50. 1 1
      documentation/manual/en/module_specs/Zend_Navigation-Containers.xml
  51. 3 1
      documentation/manual/en/module_specs/Zend_Navigation-Pages-URI.xml
  52. 8 8
      documentation/manual/en/module_specs/Zend_OpenId-Consumer.xml
  53. 1 1
      documentation/manual/en/module_specs/Zend_Paginator-Usage.xml
  54. 21 17
      documentation/manual/en/module_specs/Zend_Pdf-InteractiveFeatures.xml
  55. 10 5
      documentation/manual/en/module_specs/Zend_Pdf-Properties.xml
  56. 12 6
      documentation/manual/en/module_specs/Zend_Pdf-Save.xml
  57. 5 4
      documentation/manual/en/module_specs/Zend_Queue-Adapters.xml
  58. 2 1
      documentation/manual/en/module_specs/Zend_Registry.xml
  59. 21 12
      documentation/manual/en/module_specs/Zend_Search_Lucene-Overview.xml
  60. 17 9
      documentation/manual/en/module_specs/Zend_Search_Lucene-Queries.xml
  61. 3 2
      documentation/manual/en/module_specs/Zend_Service_Akismet.xml
  62. 11 4
      documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Ebs.xml
  63. 6 3
      documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Elasticip.xml
  64. 7 2
      documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Image.xml
  65. 30 16
      documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Instance.xml
  66. 4 1
      documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Keypair.xml
  67. 18 6
      documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Securitygroups.xml
  68. 4 3
      documentation/manual/en/module_specs/Zend_Service_Amazon_S3.xml
  69. 2 1
      documentation/manual/en/module_specs/Zend_Service_Twitter.xml
  70. 1 1
      documentation/manual/en/module_specs/Zend_Service_Twitter_Search.xml
  71. 1 1
      documentation/manual/en/module_specs/Zend_Soap_Wsdl.xml
  72. 2 2
      documentation/manual/en/module_specs/Zend_Test-PHPUnit-Db-Testing.xml
  73. 2 2
      documentation/manual/en/module_specs/Zend_Text_Figlet.xml
  74. 32 21
      documentation/manual/en/module_specs/Zend_Translate-Additional.xml
  75. 4 4
      documentation/manual/en/module_specs/Zend_Uri.xml
  76. 7 7
      documentation/manual/en/module_specs/Zend_Validate-EmailAddress.xml
  77. 2 2
      documentation/manual/en/module_specs/Zend_Validate-Hostname.xml
  78. 4 4
      documentation/manual/en/module_specs/Zend_Validate-Set.xml
  79. 2 2
      documentation/manual/en/module_specs/Zend_Validate.xml
  80. 3 3
      documentation/manual/en/module_specs/Zend_View-Helpers-HeadLink.xml
  81. 6 6
      documentation/manual/en/module_specs/Zend_View-Helpers.xml
  82. 7 5
      documentation/manual/en/module_specs/Zend_XmlRpc_Server.xml
  83. 4 2
      documentation/manual/en/ref/migration-17.xml
  84. 3 3
      documentation/manual/en/tutorials/autoloading-design.xml

+ 2 - 2
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Mail.xml

@@ -12,8 +12,8 @@
     <para>
         When instantiating a transport, it's registered automatically to
         <classname>Zend_Mail</classname>. Though, by setting the
-        <property>transport.register</property> directive to false, this behaviour
-        does no more occur.
+        <property>transport.register</property> directive to <constant>FALSE</constant>, this
+        behaviour does no more occur.
     </para>
 
     <example id="zend.application.available-resources.mail.configExample">

+ 2 - 2
documentation/manual/en/module_specs/Zend_Cache-Cache_Manager.xml

@@ -190,8 +190,8 @@ $databaseCache = $manager->getCache('database');
         "tagcache". The default cache is a simple File based cache using the Core
         frontend which assumes a cache_dir called "cache" exists at the same
         level as the conventional "public" directory of a Zend Framework application.
-        The skeleton cache is actually a NULL cache, i.e. it contains no options.
-        The remaining two caches are used to implement a default Static Page Cache
+        The skeleton cache is actually a <constant>NULL</constant> cache, i.e. it contains no
+        options. The remaining two caches are used to implement a default Static Page Cache
         where static HTML/XML or even JSON may be written to static files in
         /public. Control over a Static Page Cache is offered via
         <classname>Zend_Controller_Action_Helper_Cache</classname>, though you may

+ 4 - 4
documentation/manual/en/module_specs/Zend_CodeGenerator-Reference.xml

@@ -486,10 +486,10 @@ class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
 ]]></programlisting>
 
             <para>
-                There are several problems that might occur when trying to set null, booleans or
-                arrays as default values. For this the value holder object
-                <classname>Zend_CodeGenerator_Php_ParameterDefaultValue</classname> can be used,
-                for example:
+                There are several problems that might occur when trying to set
+                <constant>NULL</constant>, booleans or arrays as default values. For this the value
+                holder object <classname>Zend_CodeGenerator_Php_ParameterDefaultValue</classname>
+                can be used, for example:
             </para>
 
             <programlisting language="php"><![CDATA[

+ 1 - 1
documentation/manual/en/module_specs/Zend_Date-Constants.xml

@@ -1293,7 +1293,7 @@ print $date->toString("'Format:D M j G:i:s T Y='D M j G:i:s T Y");
                         <entry>Leapyear, boolean</entry>
                         <entry><constant>Zend_Date::LEAPYEAR</constant></entry>
                         <entry>no equivalent</entry>
-                        <entry><emphasis>true</emphasis></entry>
+                        <entry><emphasis><constant>TRUE</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>o</entry>

+ 18 - 7
documentation/manual/en/module_specs/Zend_Db_Adapter.xml

@@ -949,7 +949,7 @@ $db->insert('bugs', $data);
                 the database. Therefore, they follow the same rules that an
                 <acronym>SQL</acronym> <acronym>INSERT</acronym> statement follows: if the column
                 has a <acronym>DEFAULT</acronym> clause, the column takes that value in the row
-                created, otherwise the column is left in a <acronym>NULL</acronym> state.
+                created, otherwise the column is left in a <constant>NULL</constant> state.
             </para>
 
             <para>
@@ -1657,9 +1657,12 @@ try {
                     <row>
                         <entry><constant>NULLABLE</constant></entry>
                         <entry>(boolean)</entry>
+
                         <entry>
-                            True if the column accepts <acronym>SQL</acronym> NULLs, false if the
-                            column has a NOT NULL constraint.
+                            <constant>TRUE</constant> if the column accepts <acronym>SQL</acronym>
+                            <constant>NULL</constant>'s, <constant>FALSE</constant> if the
+                            column has a <constant>NOT</constant> <constant>NULL</constant>
+                            constraint.
                         </entry>
                     </row>
                     <row>
@@ -1689,15 +1692,20 @@ try {
                     <row>
                         <entry><constant>UNSIGNED</constant></entry>
                         <entry>(boolean)</entry>
+
                         <entry>
-                            True if an integer-based type is reported as
+                            <constant>TRUE</constant> if an integer-based type is reported as
                             <constant>UNSIGNED</constant>.
                         </entry>
                     </row>
                     <row>
                         <entry><constant>PRIMARY</constant></entry>
                         <entry>(boolean)</entry>
-                        <entry>True if the column is part of the primary key of this table.</entry>
+
+                        <entry>
+                            <constant>TRUE</constant> if the column is part of the primary key of
+                            this table.
+                        </entry>
                     </row>
                     <row>
                         <entry><constant>PRIMARY_POSITION</constant></entry>
@@ -1707,7 +1715,10 @@ try {
                     <row>
                         <entry><constant>IDENTITY</constant></entry>
                         <entry>(boolean)</entry>
-                        <entry>True if the column uses an auto-generated value.</entry>
+
+                        <entry>
+                            <constant>TRUE</constant> if the column uses an auto-generated value.
+                        </entry>
                     </row>
                 </tbody>
             </tgroup>
@@ -1791,7 +1802,7 @@ $db->closeConnection();
             <title>Does Zend_Db Support Persistent Connections?</title>
             <para>
                 Yes, persistence is supported through the addition of
-                the <property>persistent</property> flag set to true in the
+                the <property>persistent</property> flag set to <constant>TRUE</constant> in the
                 configuration (not driver_configuration) of an adapter
                 in <classname>Zend_Db</classname>.
             </para>

+ 2 - 2
documentation/manual/en/module_specs/Zend_Db_Profiler.xml

@@ -171,7 +171,7 @@ $profiler = $db->getProfiler();
                 <para>
                     <methodname>getLastQueryProfile()</methodname> returns the last (most
                     recent) query profile, regardless of whether or not the query
-                    has finished (if it hasn't, the end time will be null)
+                    has finished (if it hasn't, the end time will be <constant>NULL</constant>)
                 </para>
             </listitem>
 
@@ -277,7 +277,7 @@ echo "Longest query: \n" . $longestQuery . "\n";
             <para>
                 <methodname>setFilterElapsedSecs()</methodname> allows the developer to set
                 a minimum query time before a query is profiled. To remove the
-                filter, pass the method a null value.
+                filter, pass the method a <constant>NULL</constant> value.
             </para>
 
             <programlisting language="php"><![CDATA[

+ 6 - 4
documentation/manual/en/module_specs/Zend_Db_Select.xml

@@ -581,7 +581,8 @@ $select = $db->select()
                     <para>
                         All rows from the left operand table are included, matching rows from the
                         right operand table included, and the columns from the right operand table
-                        are filled with NULLs if no row exists matching the left table.
+                        are filled with <constant>NULL</constant> if no row exists matching the left
+                        table.
                     </para>
 
                     <para>
@@ -598,8 +599,8 @@ $select = $db->select()
                     <para>
                         Right outer join is the complement of left outer join. All rows from the
                         right operand table are included, matching rows from the left operand table
-                        included, and the columns from the left operand table are filled with NULLs
-                        if no row exists matching the right table.
+                        included, and the columns from the left operand table are filled with
+                        <constant>NULL</constant>'s if no row exists matching the right table.
                     </para>
 
                     <para>
@@ -619,7 +620,8 @@ $select = $db->select()
                         A full outer join is like combining a left outer join and a right outer
                         join. All rows from both tables are included, paired with each other on the
                         same row of the result set if they satisfy the join condition, and
-                        otherwise paired with NULLs in place of columns from the other table.
+                        otherwise paired with <constant>NULL</constant>'s in place of columns from
+                        the other table.
                     </para>
 
                     <para>

+ 3 - 4
documentation/manual/en/module_specs/Zend_Db_Table.xml

@@ -1179,10 +1179,9 @@ $rows = $table->fetchAll($select);
                 there may be certain cases where you require the flexibility of the
                 <classname>Zend_Db_Table_Row</classname> component and do not require a writable or
                 deletable row. for this specific user case, it is possible to retrieve a row/rowset
-                by passing a false value to setIntegrityCheck. The resulting row/rowset will be
-                returned as a 'locked' row (meaning the save(), delete() and any field-setting
-                methods will throw an
-                exception).
+                by passing a <constant>FALSE</constant> value to setIntegrityCheck. The resulting
+                row/rowset will be returned as a 'locked' row (meaning the save(), delete() and any
+                field-setting methods will throw an exception).
             </para>
 
             <example id="zend.db.table.qry.rows.set.integrity.example">

+ 3 - 2
documentation/manual/en/module_specs/Zend_Db_Table_Rowset.xml

@@ -172,8 +172,9 @@ $row9->save();
                 knowing its position; don't forget however that positions start with index zero. The
                 first parameter for <methodname>getRow()</methodname> is an integer for the position
                 asked. The second optional parameter is a boolean; it tells the Rowset iterator if
-                it must seek to that position in the same time, or not (default is false). This
-                method returns a <classname>Zend_Db_Table_Row</classname> object by default. If the
+                it must seek to that position in the same time, or not (default is
+                <constant>FALSE</constant>). This method returns a
+                <classname>Zend_Db_Table_Row</classname> object by default. If the
                 position requested does not exist, an exception will be thrown. Here is an example:
             </para>
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Dojo-Data.xml

@@ -331,7 +331,7 @@ $json = (string) $data; // cast to string == cast to JSON
                 <listitem><para>
                     <methodname>getItem($id)</methodname>: retrieve an item with the given
                     identifier from the collection; the item returned will be an
-                    associative array. If no item matches, a null value is
+                    associative array. If no item matches, a <constant>NULL</constant> value is
                     returned.
                 </para></listitem>
 

+ 10 - 9
documentation/manual/en/module_specs/Zend_Dojo-Form-Elements.xml

@@ -24,12 +24,13 @@
 
         <listitem><para>
                 <methodname>hasDijitParam($key)</methodname>: If a given dijit parameter
-                is defined and present, return TRUE, otherwise return FALSE.
+                is defined and present, return <constant>TRUE</constant>, otherwise return
+                <constant>FALSE</constant>.
         </para></listitem>
 
         <listitem><para>
                 <methodname>getDijitParam($key)</methodname>: retrieve the given dijit
-                parameter. If not available, a null value is returned.
+                parameter. If not available, a <constant>NULL</constant> value is returned.
         </para></listitem>
 
         <listitem><para>
@@ -108,7 +109,7 @@ $element->addDecorator('DijitElement')
 
             <listitem><para>
                 <methodname>isChecked()</methodname> determines if the value submitted
-                matches the label; if so, it returns true. This is useful for
+                matches the label; if so, it returns <constant>TRUE</constant>. This is useful for
                 determining which button was used when a form was submitted.
             </para></listitem>
         </itemizedlist>
@@ -284,7 +285,7 @@ $form->addElement(
             validates against the array keys of registered options. You can
             disable this behavior by either calling
             <methodname>setRegisterInArrayValidator(false)</methodname>, or by passing a
-            false value to the <code>registerInArrayValidator</code>
+            <constant>FALSE</constant> value to the <code>registerInArrayValidator</code>
             configuration key.
         </para>
 
@@ -437,7 +438,7 @@ $form->addElement(
             <listitem><para>
                 <methodname>setStrict($flag)</methodname> and <methodname>getStrict()</methodname>:
                 whether or not to use strict regular expression matching when
-                validating input. If false, which is the default, it will be
+                validating input. If <constant>FALSE</constant>, which is the default, it will be
                 lenient about whitespace and some abbreviations.
             </para></listitem>
 
@@ -593,7 +594,7 @@ $form->addElement(
                 <para>
                     <emphasis>focusOnLoad</emphasis> is used to determine
                     whether this particular editor will receive focus when the
-                    page has loaded. By default, this is false. The method
+                    page has loaded. By default, this is <constant>FALSE</constant>. The method
                     <methodname>setFocusOnLoad($flag)</methodname> may be used to
                     set the value, while <methodname>getFocusOnLoad()</methodname>
                     will retrieve it.
@@ -613,7 +614,7 @@ $form->addElement(
                 <para>
                     <emphasis>inheritWidth</emphasis> is used to determine
                     whether the editor will use the parent container's width or
-                    simply default to 100% width. By default, this is false
+                    simply default to 100% width. By default, this is <constant>FALSE</constant>
                     (i.e., it will fill the width of the window). The method
                     <methodname>setInheritWidth($flag)</methodname> may be used to set the
                     value, while <methodname>getInheritWidth()</methodname> will retrieve
@@ -689,7 +690,7 @@ $form->addElement('editor', 'content', array(
             <para>
                 That said, there may be times when you want an Editor widget that can gracefully degrade to a
                 <acronym>TEXTAREA</acronym>. In such situations, you can do so by setting the
-                <varname>degrade</varname> property to <constant>true</constant>:
+                <varname>degrade</varname> property to <constant>TRUE</constant>:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -1064,7 +1065,7 @@ $form->addElement(
             which validates against the array keys of registered options. You
             can disable this behavior by either calling
             <methodname>setRegisterInArrayValidator(false)</methodname>, or by passing a
-            false value to the <code>registerInArrayValidator</code>
+            <constant>FALSE</constant> value to the <code>registerInArrayValidator</code>
             configuration key.
         </para>
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Dojo-View-Helpers.xml

@@ -671,7 +671,7 @@ echo $view->editor('foo');
                     <para>
                         That said, there may be times when you want an Editor widget that can
                         gracefully degrade to a <acronym>TEXTAREA</acronym>. In such situations, you
-                        can do so by passing a boolean <constant>true</constant> value to the
+                        can do so by passing a boolean <constant>TRUE</constant> value to the
                         <varname>degrade</varname> parameter:
                     </para>
 

+ 16 - 12
documentation/manual/en/module_specs/Zend_Feed_Reader.xml

@@ -616,7 +616,7 @@ $labels = $categories->getValues();
                             Returns either the first author known, or with the
                             optional <varname>$index</varname> parameter any specific
                             index on the array of Authors as described above (returning
-                            null if an invalid index).
+                            <constant>NULL</constant> if an invalid index).
                         </entry>
                     </row>
 
@@ -682,11 +682,13 @@ $labels = $categories->getValues();
 
                         <entry>
                             Returns a <classname>Zend_Feed_Reader_Collection_Category</classname>
-                            object containing the details of any categories associated with the overall feed.
-                            The supported fields include "term" (the machine readable category name), "scheme"
-                            (the categorisation scheme/domain for this category), and "label" (a html decoded human readable
-                            category name). Where any of the three fields are absent from the field, they are either
-                            set to the closest available alternative or, in the case of "scheme", set to NULL.
+                            object containing the details of any categories associated with the
+                            overall feed. The supported fields include "term" (the machine readable
+                            category name), "scheme" (the categorisation scheme/domain for this
+                            category), and "label" (a html decoded human readable category name).
+                            Where any of the three fields are absent from the field, they are either
+                            set to the closest available alternative or, in the case of "scheme",
+                            set to <constant>NULL</constant>.
                         </entry>
                     </row>
         </tbody>
@@ -946,7 +948,7 @@ $labels = $categories->getValues();
                             Returns either the first author known, or with the
                             optional <varname>$index</varname> parameter any specific
                             index on the array of Authors as described above (returning
-                            null if an invalid index).
+                            <constant>NULL</constant> if an invalid index).
                         </entry>
                     </row>
 
@@ -1031,11 +1033,13 @@ $labels = $categories->getValues();
 
                         <entry>
                             Returns a <classname>Zend_Feed_Reader_Collection_Category</classname>
-                            object containing the details of any categories associated with the entry.
-                            The supported fields include "term" (the machine readable category name), "scheme"
-                            (the categorisation scheme/domain for this category), and "label" (a html decoded human readable
-                            category name). Where any of the three fields are absent from the field, they are either
-                            set to the closest available alternative or, in the case of "scheme", set to NULL.
+                            object containing the details of any categories associated with the
+                            entry. The supported fields include "term" (the machine readable
+                            category name), "scheme" (the categorisation scheme/domain for this
+                            category), and "label" (a html decoded human readable category name).
+                            Where any of the three fields are absent from the field, they are either
+                            set to the closest available alternative or, in the case of "scheme",
+                            set to <constant>NULL</constant>.
                         </entry>
                     </row>
                 </tbody>

+ 5 - 5
documentation/manual/en/module_specs/Zend_File_Transfer-Filters.xml

@@ -330,8 +330,8 @@ $upload->addFilter('LowerCase', 'ISO-8859-1');
         <note>
             <para>
                 Note that due to the fact that the options for the LowerCase filter are optional,
-                you must give a null as second parameter (the options) when you want to limit it to
-                a single file element.
+                you must give a <constant>NULL</constant> as second parameter (the options) when you
+                want to limit it to a single file element.
             </para>
         </note>
 
@@ -362,7 +362,7 @@ $upload->addFilter('LowerCase', 'ISO-8859-1');
             <listitem>
                 <para>
                     <code>overwrite</code>: Sets if the old file overwrites the new one if it
-                    already exists. The default value is false.
+                    already exists. The default value is <constant>FALSE</constant>.
                 </para>
             </listitem>
         </itemizedlist>
@@ -509,8 +509,8 @@ $upload->addFilter('UpperCase', 'ISO-8859-1');
         <note>
             <para>
                 Note that due to the fact that the options for the UpperCase filter are optional,
-                you must give a null as second parameter (the options) when you want to limit it to
-                a single file element.
+                you must give a <constant>NULL</constant> as second parameter (the options) when you
+                want to limit it to a single file element.
             </para>
         </note>
 

+ 9 - 7
documentation/manual/en/module_specs/Zend_File_Transfer-Introduction.xml

@@ -123,9 +123,10 @@ if (!$adapter->receive()) {
         <itemizedlist>
             <listitem>
                 <para>
-                    <emphasis>ignoreNoFile</emphasis>: If this option is set to true, all
-                    validators will ignore files that have not been uploaded by the form. The
-                    default value is false which results in an error if no files were specified.
+                    <emphasis>ignoreNoFile</emphasis>: If this option is set to
+                    <constant>TRUE</constant>, all validators will ignore files that have not been
+                    uploaded by the form. The default value is <constant>FALSE</constant> which
+                    results in an error if no files were specified.
                 </para>
             </listitem>
         </itemizedlist>
@@ -257,7 +258,7 @@ $upload->receive();
         <para>
             By default file names will be returned with the complete path. If you only need the file
             name without path, you can set the second parameter, <varname>$path</varname>, which
-            will truncate the file path when set to false.
+            will truncate the file path when set to <constant>FALSE</constant>.
         </para>
 
         <example id="zend.file.transfer.introduction.informations.example1">
@@ -287,7 +288,8 @@ $names = $upload->getFileName('foo');
         <para>
             <methodname>getFileSize()</methodname> returns per default the real filesize in SI
             notation which means you will get <code>2kB</code> instead of <code>2048</code>. If you
-            need only the plain size set the <code>useByteString</code> option to false.
+            need only the plain size set the <code>useByteString</code> option to
+            <constant>FALSE</constant>.
         </para>
 
         <example id="zend.file.transfer.introduction.informations.example.getfilesize">
@@ -483,8 +485,8 @@ while (!$upload['done']) {
 
                 <listitem>
                     <para>
-                        <emphasis>done</emphasis>: Returns true when the upload is finished and
-                        false otherwise.
+                        <emphasis>done</emphasis>: Returns <constant>TRUE</constant> when the upload
+                        is finished and <constant>FALSE</constant> otherwise.
                     </para>
                 </listitem>
 

+ 10 - 9
documentation/manual/en/module_specs/Zend_File_Transfer-Validators.xml

@@ -355,8 +355,8 @@ if ($upload->isValid()) {
             problems found. To get this information, you can use the methods
             <methodname>getMessages()</methodname> which returns all validation messages as array,
             <methodname>getErrors()</methodname> which returns all error codes, and
-            <methodname>hasErrors()</methodname> which returns true as soon as a validation error
-            has been found.
+            <methodname>hasErrors()</methodname> which returns <constant>TRUE</constant> as soon as
+            a validation error has been found.
         </para>
 
     </sect2>
@@ -503,9 +503,9 @@ $upload->addValidator('Crc32', false, array('3b3652f', 'e612b69'));
 
         <para>
             In some cases it is useful to match in a case-sensitive fashion. So the constructor
-            allows a second parameter called <varname>$case</varname> which, if set to true,
-            validates the extension by comparing it with the specified values in a case-sensitive
-            fashion.
+            allows a second parameter called <varname>$case</varname> which, if set to
+            <constant>TRUE</constant>, validates the extension by comparing it with the specified
+            values in a case-sensitive fashion.
         </para>
 
         <example id="zend.file.transfer.validators.excludeextension.example">
@@ -694,8 +694,8 @@ $upload->addValidator('Exists',
 
         <para>
             In some cases it is useful to test in a case-sensitive fashion. Therefore the
-            constructor takes a second parameter <varname>$case</varname>, which, if set to true,
-            will validate the extension in a case-sensitive fashion.
+            constructor takes a second parameter <varname>$case</varname>, which, if set to
+            <constant>TRUE</constant>, will validate the extension in a case-sensitive fashion.
         </para>
 
         <example id="zend.file.transfer.validators.extension.example">
@@ -761,7 +761,8 @@ if (!$upload->isValid('C:\temp\myfile.MO')) {
 
                 <para>
                     This option defines whether the user sees '10864' or '10MB'. The default value
-                    is true, so '10MB' is returned if you did not specify otherwise.
+                    is <constant>TRUE</constant>, so '10MB' is returned if you did not specify
+                    otherwise.
                 </para>
             </listitem>
         </itemizedlist>
@@ -1299,7 +1300,7 @@ $upload->addValidator('Sha1',
 
                 <para>
                     With this option you can define if the user gets '10864' or '10MB'. Default
-                    value is true which returns '10MB'.
+                    value is <constant>TRUE</constant> which returns '10MB'.
                 </para>
             </listitem>
         </itemizedlist>

+ 4 - 3
documentation/manual/en/module_specs/Zend_Filter-Compress.xml

@@ -535,9 +535,10 @@ $compressed = $filter->filter('filename.zip');
             <listitem>
                 <para>
                     <emphasis>Mode</emphasis>: A mode to use for compression. Supported are either
-                    'null' which means no compression at all, 'Gz' which makes use of
-                    <acronym>PHP</acronym>'s Zlib extension and 'Bz2' which makes use of
-                    <acronym>PHP</acronym>'s Bz2 extension. The default value is 'null'.
+                    '<constant>NULL</constant>' which means no compression at all, 'Gz' which makes
+                    use of <acronym>PHP</acronym>'s Zlib extension and 'Bz2' which makes use of
+                    <acronym>PHP</acronym>'s Bz2 extension. The default value is
+                    '<constant>NULL</constant>'.
                 </para>
             </listitem>
 

+ 2 - 1
documentation/manual/en/module_specs/Zend_Filter-Encryption.xml

@@ -96,7 +96,8 @@ $filter->setAdapter('openssl');
             <listitem>
                 <para>
                     <emphasis>salt</emphasis>: If the key should be used as salt value. The key used
-                    for encryption will then itself also be encrypted. Default is false.
+                    for encryption will then itself also be encrypted. Default is
+                    <constant>FALSE</constant>.
                 </para>
             </listitem>
         </itemizedlist>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Filter-Null.xml

@@ -15,7 +15,7 @@
         <para>
             Per default this filter works like <acronym>PHP</acronym>'s
             <methodname>empty()</methodname> method; in other words, if
-            <methodname>empty()</methodname> returns a boolean true, then a
+            <methodname>empty()</methodname> returns a boolean <constant>TRUE</constant>, then a
             <constant>NULL</constant> value will be returned.
         </para>
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Filter.xml

@@ -186,8 +186,8 @@ echo Zend_Filter::filterStatic('"', 'OtherFilter', array($parameters));
                 <listitem>
                     <para>
                         <emphasis><methodname>Zend_Filter::hasDefaultNamespaces()</methodname></emphasis>:
-                        Returns true when one or more default namespaces are set, and false when no
-                        default namespaces are set.
+                        Returns <constant>TRUE</constant> when one or more default namespaces are
+                        set, and <constant>FALSE</constant> when no default namespaces are set.
                     </para>
                 </listitem>
             </itemizedlist>

+ 2 - 2
documentation/manual/en/module_specs/Zend_Form-Advanced.xml

@@ -173,7 +173,7 @@
             <listitem>
                 <para>
                     <methodname>Zend_Form::setIsArray($flag)</methodname>: By setting the
-                    flag true, you can indicate that an entire form should be
+                    flag <constant>TRUE</constant>, you can indicate that an entire form should be
                     treated as an array. By default, the form's name will be
                     used as the name of the array, unless
                     <methodname>setElementsBelongTo()</methodname> has been called. If the
@@ -573,7 +573,7 @@ class RegistrationController extends Zend_Controller_Action
             <para>
                 Now, let's figure out how to process and display the various sub
                 forms. We can use <methodname>getCurrentSubForm()</methodname> to determine
-                if any sub forms have been submitted (false return values
+                if any sub forms have been submitted (<constant>FALSE</constant> return values
                 indicate none have been displayed or submitted), and
                 <methodname>getNextSubForm()</methodname> to retrieve a form to display. We
                 can then use the form's <methodname>prepareSubForm()</methodname> method to

+ 19 - 16
documentation/manual/en/module_specs/Zend_Form-Elements.xml

@@ -82,8 +82,8 @@
             <listitem><para>
                 <methodname>addPrefixPath($prefix, $path, $type = null)</methodname>: adds
                 a prefix/path association to the loader specified by
-                <varname>$type</varname>. If <varname>$type</varname> is null, it will
-                attempt to add the path to all loaders, by appending the prefix
+                <varname>$type</varname>. If <varname>$type</varname> is <constant>NULL</constant>,
+                it will attempt to add the path to all loaders, by appending the prefix
                 with each of "_Validate", "_Filter", and "_Decorator"; and
                 appending the path with "Validate/", "Filter/", and
                 "Decorator/". If you have all your extra form element classes
@@ -565,7 +565,7 @@ class My_Validate_PasswordConfirmation extends Zend_Validate_Abstract
 
         <para>
             Validators are processed in order. Each validator is processed,
-            unless a validator created with a true
+            unless a validator created with a <constant>TRUE</constant>
             <code>breakChainOnFailure</code> value fails its validation. Be
             sure to specify your validators in a reasonable order.
         </para>
@@ -588,7 +588,7 @@ $messages = $element->getMessages();
         <para>
             In addition to validators, you can specify that an element is
             required, using <methodname>setRequired(true)</methodname>. By default, this
-            flag is false, meaning that your validator chain will be skipped if
+            flag is <constant>FALSE</constant>, meaning that your validator chain will be skipped if
             no value is passed to <methodname>isValid()</methodname>. You can modify this
             behavior in a number of ways:
         </para>
@@ -597,11 +597,11 @@ $messages = $element->getMessages();
             <listitem>
                 <para>
                     By default, when an element is required, a flag,
-                    'allowEmpty', is also true. This means that if a value
+                    'allowEmpty', is also <constant>TRUE</constant>. This means that if a value
                     evaluating to empty is passed to <methodname>isValid()</methodname>, the
                     validators will be skipped. You can toggle this flag using
                     the accessor <methodname>setAllowEmpty($flag)</methodname>; when the
-                    flag is false and a value is passed, the validators
+                    flag is <constant>FALSE</constant> and a value is passed, the validators
                     will still run.
                 </para>
             </listitem>
@@ -620,7 +620,7 @@ $messages = $element->getMessages();
 
                 <para>
                     If you do not want this behavior, you can turn it off by
-                    passing a false value to
+                    passing a <constant>FALSE</constant> value to
                     <methodname>setAutoInsertNotEmptyValidator($flag)</methodname>; this
                     will prevent <methodname>isValid()</methodname> from placing the
                     'NotEmpty' validator in the validator chain.
@@ -681,8 +681,8 @@ $messages = $element->getMessages();
                     <methodname>setAllowEmpty($flag)</methodname> and
                     <methodname>getAllowEmpty()</methodname> allow you to modify the
                     behaviour of optional elements (i.e., elements where the
-                    required flag is false). When the 'allow empty' flag is
-                    true, empty values will not be passed to the validator
+                    required flag is <constant>FALSE</constant>). When the 'allow empty' flag is
+                    <constant>TRUE</constant>, empty values will not be passed to the validator
                     chain.
             </para></listitem>
 
@@ -690,7 +690,7 @@ $messages = $element->getMessages();
                     <methodname>setAutoInsertNotEmptyValidator($flag)</methodname> allows
                     you to specify whether or not a 'NotEmpty' validator will be
                     prepended to the validator chain when the element is
-                    required. By default, this flag is true.
+                    required. By default, this flag is <constant>TRUE</constant>.
             </para></listitem>
 
             <listitem><para>
@@ -1086,22 +1086,25 @@ echo $element->renderHtmlTag("This is the html tag content");
                 <emphasis>required</emphasis>: flag indicating whether or not
                 the element is required when performing form validation. Uses
                 the <methodname>setRequired()</methodname> and
-                <methodname>getRequired()</methodname> accessors. This flag is false by default.
+                <methodname>getRequired()</methodname> accessors. This flag is
+                <constant>FALSE</constant> by default.
             </para></listitem>
 
             <listitem><para>
                 <emphasis>allowEmpty</emphasis>: flag indicating whether or not
                 a non-required (optional) element should attempt to validate
-                empty values. If it is set to true and the required flag is false, empty
-                values are not passed to the validator chain and are presumed true.
-                Uses the <methodname>setAllowEmpty()</methodname> and
-                <methodname>getAllowEmpty()</methodname> accessors. This flag is true by default.
+                empty values. If it is set to <constant>TRUE</constant> and the required flag is
+                <constant>FALSE</constant>, empty values are not passed to the validator chain and
+                are presumed <constant>TRUE</constant>. Uses the
+                <methodname>setAllowEmpty()</methodname> and
+                <methodname>getAllowEmpty()</methodname> accessors. This flag is
+                <constant>TRUE</constant> by default.
             </para></listitem>
 
             <listitem><para>
                 <emphasis>autoInsertNotEmptyValidator</emphasis>: flag
                 indicating whether or not to insert a 'NotEmpty' validator when
-                the element is required. By default, this flag is true. Set the
+                the element is required. By default, this flag is <constant>TRUE</constant>. Set the
                 flag with <methodname>setAutoInsertNotEmptyValidator($flag)</methodname> and
                 determine the value with
                 <methodname>autoInsertNotEmptyValidator()</methodname>.

+ 5 - 5
documentation/manual/en/module_specs/Zend_Form-Forms.xml

@@ -107,7 +107,7 @@ $form = new Zend_Form($config);
             <listitem><para>
                 <methodname>addPrefixPath($prefix, $path, $type = null)</methodname>: adds a
                 prefix/path association to the loader specified by $type. If
-                $type is null, it will attempt to add the path to all loaders,
+                $type is <constant>NULL</constant>, it will attempt to add the path to all loaders,
                 by appending the prefix with each of "_Element" and
                 "_Decorator"; and appending the path with "Element/" and
                 "Decorator/". If you have all your extra form element classes
@@ -368,8 +368,8 @@ $form->setElementDecorators(array(
                     set the specified decorators on those elements only. You
                     may also pass a third argument, a flag indicating whether
                     this list of elements is for inclusion or exclusion
-                    purposes. If the flag is false, it will decorate all elements
-                    <emphasis>except</emphasis> those in the passed list.
+                    purposes. If the flag is <constant>FALSE</constant>, it will decorate all
+                    elements <emphasis>except</emphasis> those in the passed list.
                     As with standard usage of the method, any decorators passed
                     will overwrite any previously set decorators in each
                     element.
@@ -1415,8 +1415,8 @@ $json = $form->processAjax($data);
 
         <para>
             You can then simply send the <acronym>JSON</acronym> response to the client. If the
-            form is valid, this will be a boolean true response. If not, it will
-            be a javascript object containing key/message pairs, where each
+            form is valid, this will be a boolean <constant>TRUE</constant> response. If not, it
+            will be a javascript object containing key/message pairs, where each
             'message' is an array of validation error messages.
         </para>
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Form-QuickStart.xml

@@ -169,7 +169,7 @@ $username->addValidator('regex', false, array('/^[a-z]/i'));
         <para>
             (The second parameter is used to indicate whether or not failure of
             this validator should prevent later validators from running; by
-            default, this is false.)
+            default, this is <constant>FALSE</constant>.)
         </para>
 
         <para>
@@ -358,7 +358,7 @@ $form->addElement('text', 'username', array('order' => 10));
             After a form is submitted, you will need to check and see if it
             passes validations. Each element is checked against the data
             provided; if a key matching the element name is not present, and
-            the item is marked as required, validations are run with a null
+            the item is marked as required, validations are run with a <constant>NULL</constant>
             value.
         </para>
 

+ 3 - 3
documentation/manual/en/module_specs/Zend_Form-StandardDecorators.xml

@@ -42,7 +42,7 @@ class Util
         </para>
 
         <para>
-            The Callback decorator allows specifying a null value for the
+            The Callback decorator allows specifying a <constant>NULL</constant> value for the
             placement option, which will replace the original content with
             the callback return value; 'prepend' and 'append' are still
             valid as well.
@@ -230,7 +230,7 @@ class Util
         <itemizedlist>
             <listitem><para>
                 <code>ignoreSubForms</code>: whether or not to disable recursion
-                into subforms. Default value: false (i.e., allow recursion).
+                into subforms. Default value: <constant>FALSE</constant> (i.e., allow recursion).
             </para></listitem>
 
             <listitem><para>
@@ -504,7 +504,7 @@ $element->setDecorators(array(array('ViewScript',
             <para>
                 You may find it useful for the view script to replace the
                 content provided to the decorator -- for instance, if you want
-                to wrap it. You can do so by specifying a boolean false value
+                to wrap it. You can do so by specifying a boolean <constant>FALSE</constant> value
                 for the decorator's 'placement' option:
             </para>
 

+ 5 - 5
documentation/manual/en/module_specs/Zend_Form-StandardElements.xml

@@ -515,7 +515,7 @@ $form->addElement('hash', 'no_csrf_foo', array('salt' => 'unique'));
             when submitting the image using the <methodname>setImageValue()</methodname> accessor
             (or 'imageValue' configuration key). When the value set for the
             element matches the <code>imageValue</code>, then the accessor
-            <methodname>isChecked()</methodname> will return true.
+            <methodname>isChecked()</methodname> will return <constant>TRUE</constant>.
         </para>
 
         <para>
@@ -552,7 +552,7 @@ $form->addElement('hash', 'no_csrf_foo', array('salt' => 'unique'));
             which validates against the array keys of registered options. You
             can disable this behavior by either calling
             <methodname>setRegisterInArrayValidator(false)</methodname>, or by passing a
-            false value to the <code>registerInArrayValidator</code>
+            <constant>FALSE</constant> value to the <code>registerInArrayValidator</code>
             configuration key.
         </para>
 
@@ -652,7 +652,7 @@ $element->setValue(array('bar', 'bat'));
             which validates against the array keys of registered options. You
             can disable this behavior by either calling
             <methodname>setRegisterInArrayValidator(false)</methodname>, or by passing a
-            false value to the <code>registerInArrayValidator</code>
+            <constant>FALSE</constant> value to the <code>registerInArrayValidator</code>
             configuration key.
         </para>
     </sect2>
@@ -691,7 +691,7 @@ $element->setValue(array('bar', 'bat'));
             which validates against the array keys of registered options. You
             can disable this behavior by either calling
             <methodname>setRegisterInArrayValidator(false)</methodname>, or by passing a
-            false value to the <code>registerInArrayValidator</code>
+            <constant>FALSE</constant> value to the <code>registerInArrayValidator</code>
             configuration key.
         </para>
 
@@ -756,7 +756,7 @@ $element->setValue(array('bar', 'bat'));
             which validates against the array keys of registered options. You
             can disable this behavior by either calling
             <methodname>setRegisterInArrayValidator(false)</methodname>, or by passing a
-            false value to the <code>registerInArrayValidator</code>
+            <constant>FALSE</constant> value to the <code>registerInArrayValidator</code>
             configuration key.
         </para>
 

+ 3 - 2
documentation/manual/en/module_specs/Zend_Gdata_Calendar.xml

@@ -671,8 +671,9 @@ $newEvent = $service->insertEvent($event);
                 QuickAdd is a feature which allows events to be created using free-form text entry.
                 For example, the string "Dinner at Joe's Diner on Thursday" would create an event
                 with the title "Dinner", location "Joe's Diner", and date "Thursday". To take
-                advantage of QuickAdd, create a new <code>QuickAdd</code> property set to "true"
-                and store the freeform text as a <code>content</code> property.
+                advantage of QuickAdd, create a new <code>QuickAdd</code> property set to
+                <constant>TRUE</constant> and store the freeform text as a <code>content</code>
+                property.
             </para>
             <programlisting language="php"><![CDATA[
 // Create a new entry using the calendar service's magic factory method

+ 1 - 1
documentation/manual/en/module_specs/Zend_Gdata_Spreadsheets.xml

@@ -175,7 +175,7 @@ echo $customEntry->getColumnName() . " = " . $customEntry->getText();
                 corresponding rows in the GUI; that is, they're in order by
                 row number. To get rows in reverse order, set the reverse
                 properties of the <classname>Zend_Gdata_Spreadsheets_ListQuery</classname>
-                object to true:
+                object to <constant>TRUE</constant>:
             </para>
 
             <programlisting language="php"><![CDATA[

+ 1 - 1
documentation/manual/en/module_specs/Zend_Gdata_YouTube.xml

@@ -419,7 +419,7 @@ echo "hometown: " . $userProfile->hometown->text . "\n";
               </row>
               <row>
                 <entry>Video private?</entry>
-                <entry>false</entry>
+                <entry><constant>FALSE</constant></entry>
               </row>
               <row>
                 <entry>Video location</entry>

+ 3 - 3
documentation/manual/en/module_specs/Zend_Http_Client-Adapters.xml

@@ -81,7 +81,7 @@
                             <entry>persistent</entry>
                             <entry>Whether to use persistent <acronym>TCP</acronym> connections</entry>
                             <entry>boolean</entry>
-                            <entry>false</entry>
+                            <entry><constant>FALSE</constant></entry>
                         </row>
                         <row>
                             <entry>ssltransport</entry>
@@ -93,13 +93,13 @@
                             <entry>sslcert</entry>
                             <entry>Path to a <acronym>PEM</acronym> encoded <acronym>SSL</acronym> certificate</entry>
                             <entry>string</entry>
-                            <entry>null</entry>
+                            <entry><constant>NULL</constant></entry>
                         </row>
                         <row>
                             <entry>sslpassphrase</entry>
                             <entry>Passphrase for the <acronym>SSL</acronym> certificate file</entry>
                             <entry>string</entry>
-                            <entry>null</entry>
+                            <entry><constant>NULL</constant></entry>
                         </row>
                     </tbody>
                 </tgroup>

+ 9 - 7
documentation/manual/en/module_specs/Zend_Http_Client-Advanced.xml

@@ -19,7 +19,7 @@
             redirecting on a 301 or 302 response, all GET and POST parameters
             are reset, and a GET request is sent to the new location. This
             behavior can be changed by setting the 'strictredirects' configuration
-            parameter to boolean TRUE:
+            parameter to boolean <constant>TRUE</constant>:
             <example id="zend.http.client.redirections.example-1">
                 <title>Forcing RFC 2616 Strict Redirections on 301 and 302 Responses</title>
                 <programlisting language="php"><![CDATA[
@@ -143,14 +143,15 @@ $client->setHeaders(array(
 
     <sect2 id="zend.http.client.file_uploads">
         <title>File Uploads</title>
+
         <para>
             You can upload files through HTTP using the setFileUpload method.
             This method takes a file name as the first parameter, a form name
             as the second parameter, and data as a third optional parameter.
-            If the third data parameter is null, the first file name parameter
+            If the third data parameter is <constant>NULL</constant>, the first file name parameter
             is considered to be a real file on disk, and Zend_Http_Client will
             try to read this file and upload it. If the data parameter is not
-            null, the first file name parameter will be sent as the file name,
+            <constant>NULL</constant>, the first file name parameter will be sent as the file name,
             but no actual file needs to exist on the disk.
             The second form name parameter is always required, and is equivalent
             to the "name" attribute of an &gt;input&lt; tag, if the file was to
@@ -372,10 +373,11 @@ $client->setRawData($fp, 'application/zip')->request('PUT');
         </para>
 
         <para>
-        In order to receive data from the server as stream, use <methodname>setStream()</methodname>.
-        Optional argument specifies the filename where the data will be stored. If the argument is just
-        TRUE (default), temporary file will be used and will be deleted once response object is destroyed.
-        Setting argument to FALSE disables the streaming functionality.
+            In order to receive data from the server as stream, use
+            <methodname>setStream()</methodname>. Optional argument specifies the filename where the
+            data will be stored. If the argument is just <constant>TRUE</constant> (default),
+            temporary file will be used and will be deleted once response object is destroyed.
+            Setting argument to <constant>FALSE</constant> disables the streaming functionality.
         </para>
 
         <para>

+ 29 - 15
documentation/manual/en/module_specs/Zend_Http_Client.xml

@@ -39,16 +39,18 @@ $client->setConfig($config);
             </example>
 
             <note>
-                <para>Zend_Http_Client uses Zend_Uri_Http to validate URLs. This means
-                that some special characters like the pipe symbol ('|') or the
-                caret symbol ('^') will not be accepted in the URL by default.
-
-                This can be modified by setting the 'allow_unwise' option of
-                Zend_Uri to 'true'. See <xref linkend="zend.uri.validation.allowunwise" />
-                for more information.</para>
+                <para>
+                    Zend_Http_Client uses Zend_Uri_Http to validate URLs. This means
+                    that some special characters like the pipe symbol ('|') or the
+                    caret symbol ('^') will not be accepted in the URL by default.
+                    This can be modified by setting the 'allow_unwise' option of
+                    Zend_Uri to '<constant>TRUE</constant>'. See <xref
+                        linkend="zend.uri.validation.allowunwise" /> for more information.
+                </para>
             </note>
         </para>
     </sect2>
+
     <sect2 id="zend.http.client.configuration">
         <title>Configuration Parameters</title>
         <para>
@@ -75,16 +77,21 @@ $client->setConfig($config);
                         </row>
                         <row>
                             <entry>strict</entry>
-                            <entry>Whether perform validation on header names. When set to false, validation functions will be skipped.
-                            Usually this should not be changed</entry>
+
+                            <entry>
+                                Whether perform validation on header names. When set to
+                                <constant>FALSE</constant>, validation functions will be skipped.
+                                Usually this should not be changed
+                            </entry>
+
                             <entry>boolean</entry>
-                            <entry>true</entry>
+                            <entry><constant>TRUE</constant></entry>
                         </row>
                         <row>
                             <entry>strictredirects</entry>
                             <entry>Whether to strictly follow the <acronym>RFC</acronym> when redirecting (see <xref linkend="zend.http.client.redirections" />)</entry>
                             <entry>boolean</entry>
-                            <entry>false</entry>
+                            <entry><constant>FALSE</constant></entry>
                         </row>
                         <row>
                             <entry>useragent</entry>
@@ -115,14 +122,21 @@ $client->setConfig($config);
                             <entry>Whether to enable keep-alive connections with the server. Useful and might improve performance if several
                             consecutive requests to the same server are performed.</entry>
                             <entry>boolean</entry>
-                            <entry>false</entry>
+                            <entry><constant>FALSE</constant></entry>
                         </row>
                         <row>
                             <entry>storeresponse</entry>
-                            <entry>Whether to store last response for later retrieval with <methodname>getLastResponse()</methodname>. If set to false
-                            <methodname>getLastResponse()</methodname> will return null.</entry>
+
+                            <entry>
+                                Whether to store last response for later retrieval with
+                                <methodname>getLastResponse()</methodname>. If set to
+                                <constant>FALSE</constant>
+                                <methodname>getLastResponse()</methodname> will return
+                                <constant>NULL</constant>.
+                            </entry>
+
                             <entry>boolean</entry>
-                            <entry>true</entry>
+                            <entry><constant>TRUE</constant></entry>
                         </row>
                     </tbody>
                 </tgroup>

+ 35 - 16
documentation/manual/en/module_specs/Zend_Http_Cookie-Handling.xml

@@ -54,21 +54,27 @@
                             <varname>$domain</varname>: The cookie's domain (eg. '.example.com') (required)
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
-                            <varname>$expires</varname>: Cookie expiration time, as UNIX time stamp (optional, defaults to null).
-                            If not set, cookie will be treated as a 'session cookie' with no expiration time.
+                                <varname>$expires</varname>: Cookie expiration time, as UNIX time
+                                stamp (optional, defaults to <constant>NULL</constant>). If not set,
+                                cookie will be treated as a 'session cookie' with no expiration
+                                time.
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
                             <varname>$path</varname>: Cookie path, eg. '/foo/bar/' (optional, defaults to '/')
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
-                            <varname>$secure</varname>: Boolean, Whether the cookie is to be sent over secure (HTTPS)
-                            connections only (optional, defaults to boolean FALSE)
+                                <varname>$secure</varname>: Boolean, Whether the cookie is to be
+                                sent over secure (HTTPS) connections only (optional, defaults to
+                                boolean <constant>FALSE</constant>)
                             </para>
                         </listitem>
                     </itemizedlist>
@@ -166,10 +172,12 @@ echo $cookie;
                     <code>string getPath()</code>: Get the cookie's path, which defaults to '/'
                     </para>
                 </listitem>
+
                 <listitem>
                     <para>
-                    <code>int getExpiryTime()</code>: Get the cookie's expiration time, as UNIX time stamp. If
-                    the cookie has no expiration time set, will return NULL.
+                        <code>int getExpiryTime()</code>: Get the cookie's expiration time, as UNIX
+                        time stamp. If the cookie has no expiration time set, will return
+                        <constant>NULL</constant>.
                     </para>
                 </listitem>
             </itemizedlist>
@@ -179,15 +187,19 @@ echo $cookie;
             <itemizedlist>
                 <listitem>
                     <para>
-                    <code>boolean isSecure()</code>: Check whether the cookie is set to be sent over secure
-                    connections only. Generally speaking, if true the cookie should only be sent over <acronym>HTTPS</acronym>.
+                        <code>boolean isSecure()</code>: Check whether the cookie is set to be sent
+                        over secure connections only. Generally speaking, if
+                        <constant>TRUE</constant> the cookie should only be sent over
+                        <acronym>HTTPS</acronym>.
                     </para>
                 </listitem>
+
                 <listitem>
                     <para>
-                    <code>boolean isExpired(int $time = null)</code>: Check whether the cookie is expired or not.
-                    If the cookie has no expiration time, will always return true. If $time is provided, it will
-                    override the current time stamp as the time to check the cookie against.
+                        <code>boolean isExpired(int $time = null)</code>: Check whether the cookie
+                        is expired or not. If the cookie has no expiration time, will always return
+                        <constant>TRUE</constant>. If $time is provided, it will override the
+                        current time stamp as the time to check the cookie against.
                     </para>
                 </listitem>
                 <listitem>
@@ -247,12 +259,16 @@ echo ($cookie->isSessionCookie() ? 'Yes' : 'No');
                     match if the <acronym>URL</acronym>'s scheme (HTTP or <acronym>HTTPS</acronym>), domain and path all match.
                     </para>
                 </listitem>
+
                 <listitem>
                     <para>
-                    <code>boolean $matchSessionCookies</code>: Whether session cookies should be matched or not.
-                    Defaults to true. If set to false, cookies with no expiration time will never match.
+                        <code>boolean $matchSessionCookies</code>: Whether session cookies should be
+                        matched or not. Defaults to <constant>TRUE</constant>. If set to
+                        <constant>FALSE</constant>, cookies with no expiration time will never
+                        match.
                     </para>
                 </listitem>
+
                 <listitem>
                     <para>
                     <code>int $now</code>: Time (represented as UNIX time stamp) to check a cookie against
@@ -442,13 +458,16 @@ $cookie->match('http://www.example.com/', true, time() + (3 * 3600));
                             connection type (secure or non-secure), domain and path to match against.
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
-                            <varname>$matchSessionCookies</varname> is a boolean telling whether to match session
-                            cookies or not. Session cookies are cookies that have no specified expiration
-                            time. Defaults to true.
+                                <varname>$matchSessionCookies</varname> is a boolean telling whether
+                                to match session cookies or not. Session cookies are cookies that
+                                have no specified expiration time. Defaults to
+                                <constant>TRUE</constant>.
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
                             <varname>$ret_as</varname> specifies the return type as described above. If not

+ 25 - 19
documentation/manual/en/module_specs/Zend_Http_Response.xml

@@ -74,26 +74,29 @@ $response = Zend_Http_Response::factory($str);
     <sect2 id="zend.http.response.testers">
         <title>Boolean Tester Methods</title>
         <para>
-            Once a <classname>Zend_Http_Response</classname> object is instantiated, it provides several
-            methods that can be used to test the type of the response. These all
-            return Boolean true or false:
+            Once a <classname>Zend_Http_Response</classname> object is instantiated, it provides
+            several methods that can be used to test the type of the response. These all
+            return Boolean <constant>TRUE</constant> or <constant>FALSE</constant>:
             <itemizedlist>
                 <listitem>
                     <para>
-                        <code>Boolean isSuccessful()</code>: Whether the request was successful or not. Returns
-                        TRUE for <acronym>HTTP</acronym> 1xx and 2xx response codes
+                        <code>Boolean isSuccessful()</code>: Whether the request was successful or
+                        not. Returns <constant>TRUE</constant> for <acronym>HTTP</acronym> 1xx and
+                        2xx response codes
                     </para>
                 </listitem>
                 <listitem>
                     <para>
-                        <code>Boolean isError()</code>: Whether the response code implies an error or not. Returns
-                        TRUE for <acronym>HTTP</acronym> 4xx (client errors) and 5xx (server errors) response codes
+                        <code>Boolean isError()</code>: Whether the response code implies an error
+                        or not. Returns <constant>TRUE</constant> for <acronym>HTTP</acronym> 4xx
+                        (client errors) and 5xx (server errors) response codes
                     </para>
                 </listitem>
                 <listitem>
                     <para>
-                        <code>Boolean isRedirect()</code>: Whether the response is a redirection response or not. Returns
-                        TRUE for <acronym>HTTP</acronym> 3xx response codes
+                        <code>Boolean isRedirect()</code>: Whether the response is a redirection
+                        response or not. Returns <constant>TRUE</constant> for
+                        <acronym>HTTP</acronym> 3xx response codes
                     </para>
                 </listitem>
             </itemizedlist>
@@ -152,10 +155,11 @@ if ($response->isError()) {
                 </listitem>
                 <listitem>
                     <para>
-                        <code>string getHeadersAsString($status_line = true, $br = "\n")</code>: Get the entire
-                        set of headers as a string. If $status_line is true (default), the first status
-                        line (eg. "HTTP/1.1 200 OK") will also be returned. Lines are broken with the
-                        $br parameter (Can be, for example, "&lt;br /&gt;")
+                        <code>string getHeadersAsString($status_line = true, $br = "\n")</code>: Get
+                        the entire set of headers as a string. If $status_line is
+                        <constant>TRUE</constant> (default), the first status line (eg. "HTTP/1.1
+                        200 OK") will also be returned. Lines are broken with the $br parameter (Can
+                        be, for example, "&lt;br /&gt;")
                     </para>
                 </listitem>
                 <listitem>
@@ -246,12 +250,14 @@ echo $body;
                 </listitem>
                 <listitem>
                     <para>
-                        <code>string Zend_Http_Response::responseCodeAsText($code = null, $http11 = true)</code>:
-                        Get the standard <acronym>HTTP</acronym> response message for a response code $code. For example,
-                        will return "Internal Server Error" if $code is 500. If $http11 is true (default),
-                        will return <acronym>HTTP</acronym>/1.1 standard messages - otherwise <acronym>HTTP</acronym>/1.0 messages will be returned.
-                        If $code is not specified, this method will return all known <acronym>HTTP</acronym> response codes as an
-                        associative (code => message) array.
+                        <code>string Zend_Http_Response::responseCodeAsText($code = null, $http11 =
+                        true)</code>: Get the standard <acronym>HTTP</acronym> response message for
+                        a response code $code. For example, will return "Internal Server Error" if
+                        $code is 500. If $http11 is <constant>TRUE</constant> (default), will return
+                        <acronym>HTTP</acronym>/1.1 standard messages - otherwise
+                        <acronym>HTTP</acronym>/1.0 messages will be returned. If $code is not
+                        specified, this method will return all known <acronym>HTTP</acronym>
+                        response codes as an associative (code => message) array.
                     </para>
                 </listitem>
             </itemizedlist>

+ 10 - 7
documentation/manual/en/module_specs/Zend_Json-Server.xml

@@ -240,7 +240,7 @@ $server->handle();
                 <listitem><para><methodname>setAutoEmitResponse($flag)</methodname>:
                         Indicate whether the server should automatically emit
                         the response and all headers; by default, this is
-                        true.</para></listitem>
+                        <constant>TRUE</constant>.</para></listitem>
                 <listitem><para><methodname>autoEmitResponse()</methodname>: Determine if
                         auto-emission of the response is enabled.</para></listitem>
                 <listitem><para><methodname>getServiceMap()</methodname>: Retrieve the
@@ -510,13 +510,16 @@ $server->handle();
                         describing the purpose of the service).</para></listitem>
                 <listitem><para><methodname>getDescription()</methodname>: Get the service
                         description.</para></listitem>
-                <listitem><para><methodname>setDojoCompatible($flag)</methodname>: Set a
-                        flag indicating whether or not the SMD is compatible
-                        with Dojo toolkit. When true, the generated <acronym>JSON</acronym> SMD
-                        will be formatted to comply with the format that Dojo's
-                        JSON-RPC client expects.</para></listitem>
+                <listitem>
+                    <para>
+                        <methodname>setDojoCompatible($flag)</methodname>: Set a flag indicating
+                        whether or not the SMD is compatible with Dojo toolkit. When
+                        <constant>TRUE</constant>, the generated <acronym>JSON</acronym> SMD will
+                        be formatted to comply with the format that Dojo's JSON-RPC client expects.
+                    </para>
+                </listitem>
                 <listitem><para><methodname>isDojoCompatible()</methodname>: Returns the
-                        value of the Dojo compatibility flag (false, by
+                        value of the Dojo compatibility flag (<constant>FALSE</constant>, by
                         default).</para></listitem>
                 <listitem><para><methodname>addService($service)</methodname>: Add a service
                         to the map. May be an array of information to pass to

+ 5 - 4
documentation/manual/en/module_specs/Zend_Layout-Options.xml

@@ -36,10 +36,11 @@
 
         <listitem><para>
                 <emphasis>mvcSuccessfulActionOnly</emphasis>: when using the
-                <acronym>MVC</acronym>, if an action throws an exception and this flag is true, the
-                layout will not be rendered (this is to prevent double-rendering
-                of the layout when the <link linkend="zend.controller.plugins.standard.errorhandler">ErrorHandler
-                plugin</link> is in use). By default, the flat is true.
+                <acronym>MVC</acronym>, if an action throws an exception and this flag is
+                <constant>TRUE</constant>, the layout will not be rendered (this is to prevent
+                double-rendering of the layout when the <link
+                    linkend="zend.controller.plugins.standard.errorhandler">ErrorHandler
+                    plugin</link> is in use). By default, the flat is <constant>TRUE</constant>.
                 Accessors are <methodname>setMvcSuccessfulActionOnly()</methodname> and
                 <methodname>getMvcSuccessfulActionOnly()</methodname>.
         </para></listitem>

+ 4 - 4
documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Attribute.xml

@@ -23,8 +23,8 @@
 
         <varlistentry>
             <term><code>boolean</code></term>
-            <listitem><para><constant>TRUE</constant> will be converted to <code>'TRUE'</code> and
-            <constant>FALSE</constant> to <code>'FALSE'</code></para></listitem>
+            <listitem><para><constant>TRUE</constant> will be converted to <emphasis>'<constant>TRUE</constant>'</emphasis> and
+            <constant>FALSE</constant> to <emphasis>'<constant>FALSE</constant>'</emphasis></para></listitem>
         </varlistentry>
 
         <varlistentry>
@@ -51,12 +51,12 @@
 
     <variablelist>
         <varlistentry>
-            <term><code>'TRUE'</code></term>
+            <term><emphasis>'<constant>TRUE</constant>'</emphasis></term>
             <listitem><para>Converted to <constant>TRUE</constant>.</para></listitem>
         </varlistentry>
 
         <varlistentry>
-            <term><code>'FALSE'</code></term>
+            <term><emphasis>'<constant>FALSE</constant>'</emphasis></term>
             <listitem><para>Converted to <constant>FALSE</constant>.</para></listitem>
         </varlistentry>
 

+ 5 - 3
documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Dn.xml

@@ -176,11 +176,13 @@
                 </row>
                 <row>
                     <entry><code>void setCaseFold(string|null $caseFold)</code></entry>
+
                     <entry>
                         Sets the case-folding option to the current DN instance. If
-                        <varname>$caseFold</varname> is null the default case-folding setting
-                        (<constant>Zend_Ldap_Dn::ATTR_CASEFOLD_NONE</constant> by default or set
-                        via <methodname>Zend_Ldap_Dn::setDefaultCaseFold()</methodname> will be set for
+                        <varname>$caseFold</varname> is <constant>NULL</constant> the default
+                        case-folding setting (<constant>Zend_Ldap_Dn::ATTR_CASEFOLD_NONE</constant>
+                        by default or set via
+                        <methodname>Zend_Ldap_Dn::setDefaultCaseFold()</methodname> will be set for
                         the current instance.
                     </entry>
                 </row>

+ 7 - 6
documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Node-RootDse.xml

@@ -108,12 +108,13 @@
                     </entry>
                     <entry>
                         Checks whether a given attribute exists. If
-                        <varname>$emptyExists</varname> is <constant>FALSE</constant>, empty attributes
-                        (containing only array()) are treated as non-existent returning
-                        <constant>FALSE</constant>. If <varname>$emptyExists</varname> is true, empty
-                        attributes are treated as existent returning <constant>TRUE</constant>. In
-                        this case the method returns <constant>FALSE</constant> only if the
-                        attribute name is missing in the key-collection.
+                        <varname>$emptyExists</varname> is <constant>FALSE</constant>, empty
+                        attributes (containing only array()) are treated as non-existent returning
+                        <constant>FALSE</constant>. If <varname>$emptyExists</varname> is
+                        <constant>TRUE</constant>, empty attributes are treated as existent
+                        returning <constant>TRUE</constant>. In this case the method returns
+                        <constant>FALSE</constant> only if the attribute name is missing in the
+                        key-collection.
                     </entry>
                 </row>
                 <row>

+ 11 - 10
documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Node-Schema.xml

@@ -74,8 +74,8 @@
                     </entry>
                     <entry>
                         Returns an array representation of the current node. If
-                        <code>$includeSystemAttributes</code> is <code>false</code>
-                        (defaults to <code>true</code>), the system specific attributes are
+                        <code>$includeSystemAttributes</code> is <constant>FALSE</constant>
+                        (defaults to <constant>TRUE</constant>), the system specific attributes are
                         stripped from the array. Unlike
                         <code>Zend_Ldap_Node_Schema::getAttributes()</code>, the resulting
                         array contains the DN with key <code>'dn'</code>.
@@ -108,12 +108,13 @@
                     </entry>
                     <entry>
                         Checks whether a given attribute exists. If
-                        <code>$emptyExists</code> is <code>false</code>, empty attributes
+                        <code>$emptyExists</code> is <constant>FALSE</constant>, empty attributes
                         (containing only array()) are treated as non-existent returning
-                        <code>false</code>. If <code>$emptyExists</code> is true, empty
-                        attributes are treated as existent returning <code>true</code>. In
-                        this case the method returns <code>false</code> only if the
-                        attribute name is missing in the key-collection.
+                        <constant>FALSE</constant>. If <code>$emptyExists</code> is
+                        <constant>TRUE</constant>, empty attributes are treated as existent
+                        returning <constant>TRUE</constant>. In this case the method returns
+                        <constant>FALSE</constant> only if the attribute name is missing in the
+                        key-collection.
                     </entry>
                 </row>
                 <row>
@@ -123,7 +124,7 @@
                     </entry>
                     <entry>
                         Checks if the given value(s) exist in the attribute. The
-                        method returns <code>true</code> only if all values in
+                        method returns <constant>TRUE</constant> only if all values in
                         <code>$value</code> are present in the attribute. Comparison is
                         done strictly (respecting the data type).
                     </entry>
@@ -152,8 +153,8 @@
                     </entry>
                     <entry>
                         Gets all attributes of node. If
-                        <code>$includeSystemAttributes</code> is <code>false</code>
-                        (defaults to <code>true</code>) the system specific attributes are
+                        <code>$includeSystemAttributes</code> is <constant>FALSE</constant>
+                        (defaults to <constant>TRUE</constant>) the system specific attributes are
                         stripped from the array.
                     </entry>
                 </row>

+ 9 - 7
documentation/manual/en/module_specs/Zend_Ldap-API-Ldap-Node.xml

@@ -119,7 +119,8 @@
                     <entry>
                         Marks this node as to be deleted. Node will be deleted on
                         calling <methodname>Zend_Ldap_Node::update()</methodname> if
-                        <methodname>Zend_Ldap_Node::willBeDeleted()</methodname> is true.
+                        <methodname>Zend_Ldap_Node::willBeDeleted()</methodname> is
+                        <constant>TRUE</constant>.
                     </entry>
                 </row>
                 <row>
@@ -306,12 +307,13 @@
                     </entry>
                     <entry>
                         Checks whether a given attribute exists. If
-                        <varname>$emptyExists</varname> is <constant>FALSE</constant> empty attributes
-                        (containing only array()) are treated as non-existent returning
-                        <constant>FALSE</constant>. If <varname>$emptyExists</varname> is true empty
-                        attributes are treated as existent returning <constant>TRUE</constant>. In
-                        this case the method returns <constant>FALSE</constant> only if the
-                        attribute name is missing in the key-collection.
+                        <varname>$emptyExists</varname> is <constant>FALSE</constant> empty
+                        attributes (containing only array()) are treated as non-existent returning
+                        <constant>FALSE</constant>. If <varname>$emptyExists</varname> is
+                        <constant>TRUE</constant> empty attributes are treated as existent returning
+                        <constant>TRUE</constant>. In this case the method returns
+                        <constant>FALSE</constant> only if the attribute name is missing in the
+                        key-collection.
                     </entry>
                 </row>
                 <row>

+ 4 - 4
documentation/manual/en/module_specs/Zend_Loader-Autoloader.xml

@@ -369,7 +369,7 @@ $autoloader->pushAutoloader($foo, 'Foo_');
 
                     <row>
                         <entry><methodname>autoload($class)</methodname></entry>
-                        <entry><code>string|false</code></entry>
+                        <entry><code>string|<constant>FALSE</constant></code></entry>
                         <entry><itemizedlist>
                             <listitem><para>
                                 <varname>$class</varname>, <emphasis>required</emphasis>.
@@ -499,8 +499,8 @@ $autoloader->pushAutoloader($foo, 'Foo_');
                             Set or retrieve the value of the flag used to
                             indicate whether the default autoloader
                             implementation should suppress "file not found"
-                            warnings. If no arguments or a null value is passed,
-                            returns a boolean indicating the status of the flag;
+                            warnings. If no arguments or a <constant>NULL</constant> value is
+                            passed, returns a boolean indicating the status of the flag;
                             if a boolean is passed, the flag is set to that
                             value and the autoloader instance is returned (to
                             allow method chaining).
@@ -530,7 +530,7 @@ $autoloader->pushAutoloader($foo, 'Foo_');
                             Retrieve the value of the flag used to indicate whether
                             or not the default autoloader should be used as a
                             fallback or catch-all autoloader for all namespaces.
-                            By default, this is false.
+                            By default, this is <constant>FALSE</constant>.
                         </para></entry>
                     </row>
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Loader.xml

@@ -29,7 +29,7 @@
             file. The file loaded may contain any <acronym>PHP</acronym> code.
             The method is a wrapper for the <acronym>PHP</acronym> function
             <ulink url="http://php.net/include"><methodname>include()</methodname></ulink>.
-            This method returns boolean false on failure, for example
+            This method returns boolean <constant>FALSE</constant> on failure, for example
             if the specified file does not exist.
         </para>
 

+ 8 - 6
documentation/manual/en/module_specs/Zend_Locale-DatesTimes.xml

@@ -361,12 +361,14 @@ print_r ($date);
         <title>Testing Dates</title>
 
         <para>
-            Use <methodname>checkDateFormat($inputString, array('date_format' => $format, $locale))</methodname> to check if a given string
-            contains all expected date parts. The <methodname>checkDateFormat()</methodname> method uses <methodname>getDate()</methodname>, but without
-            the option <code>'fixdate'</code> to avoid returning true when the input fails to conform to the date
-            format. If errors are detected in the input, such as swapped values for months and days, the
-            option <code>'fixdate'</code> method will apply heuristics to "correct" dates before determining their
-            validity.
+            Use <methodname>checkDateFormat($inputString, array('date_format' => $format,
+                $locale))</methodname> to check if a given string contains all expected date parts.
+            The <methodname>checkDateFormat()</methodname> method uses
+            <methodname>getDate()</methodname>, but without the option <code>'fixdate'</code> to
+            avoid returning <constant>TRUE</constant> when the input fails to conform to the date
+            format. If errors are detected in the input, such as swapped values for months and days,
+            the option <code>'fixdate'</code> method will apply heuristics to "correct" dates before
+            determining their validity.
         </para>
 
         <example id="zend.locale.date.test.example-1">

+ 6 - 5
documentation/manual/en/module_specs/Zend_Locale-Functions.xml

@@ -1285,7 +1285,7 @@ $localelist = Zend_Locale::getLocaleList();
         <note>
             <para>
                 Note that the locales are returned as key of the array you will receive. The value is always
-                a boolean true.
+                a boolean <constant>TRUE</constant>.
             </para>
         </note>
     </sect2>
@@ -1320,10 +1320,11 @@ if (Zend_Locale::isLocale($input)) {
         </para>
 
         <para>
-            You should also note that any given locale string will automatically be degraded if the region
-            part does not exist for this locale. In our previous example the language <code>'to'</code> does not
-            exist in the region <code>'RU'</code>, but you will still get true returned as <classname>Zend_Locale</classname> can
-            work with the given input.
+            You should also note that any given locale string will automatically be degraded if the
+            region part does not exist for this locale. In our previous example the language
+            <code>'to'</code> does not exist in the region <code>'RU'</code>, but you will still get
+            <constant>TRUE</constant> returned as <classname>Zend_Locale</classname> can work with
+            the given input.
         </para>
 
         <para>

+ 8 - 7
documentation/manual/en/module_specs/Zend_Locale-Parsing.xml

@@ -240,8 +240,8 @@ print $number;
         <title>Number testing</title>
 
         <para>
-            <methodname>isNumber($value, array $options = array())</methodname> checks if a given string is a number and returns
-            true or false.
+            <methodname>isNumber($value, array $options = array())</methodname> checks if a given
+            string is a number and returns <constant>TRUE</constant> or <constant>FALSE</constant>.
         </para>
 
         <example id="zend.locale.number.test.example-1">
@@ -313,8 +313,9 @@ print $number;
         <title>Floating point value testing</title>
 
         <para>
-            <methodname>isFloat($value, array $options = array())</methodname> checks if a given string is a floating point value
-            and returns true or false.
+            <methodname>isFloat($value, array $options = array())</methodname> checks if a given
+            string is a floating point value and returns <constant>TRUE</constant> or
+            <constant>FALSE</constant>.
         </para>
 
         <example id="zend.locale.float.test.example-1">
@@ -377,12 +378,12 @@ print $number;
     </sect2>
 
     <sect2 id="zend.locale.integer.test">
-
         <title>Integer value testing</title>
 
         <para>
-            <methodname>isInteger($value, array $options = array())</methodname> checks if a given string is a integer value and
-            returns true or false.
+            <methodname>isInteger($value, array $options = array())</methodname> checks if a given
+            string is a integer value and returns <constant>TRUE</constant> or
+            <constant>FALSE</constant>.
         </para>
 
         <example id="zend.locale.integer.test.example-1">

+ 2 - 2
documentation/manual/en/module_specs/Zend_Log-Writers-ZendMonitor.xml

@@ -23,7 +23,7 @@
         <para>
             In order to use this log writer, Zend Monitor must be both installed and enabled.
             However, it is designed such that if Zend Monitor is not detected, it will simply act as
-            a null logger.
+            a <constant>NULL</constant> logger.
         </para>
     </note>
 
@@ -114,7 +114,7 @@ $log->info('Exception occurred', array(
 
         <para>
             As noted previously, if the Monitor API is not detected in your PHP installation, the
-            logger will simply act as a null logger.
+            logger will simply act as a <constant>NULL</constant> logger.
         </para>
     </note>
 </sect2>

+ 4 - 2
documentation/manual/en/module_specs/Zend_Mime.xml

@@ -20,10 +20,12 @@
         <itemizedlist>
             <listitem>
                 <para>
-                    <methodname>Zend_Mime::isPrintable()</methodname>: Returns TRUE if the given string contains no unprintable characters,
-                FALSE otherwise.
+                    <methodname>Zend_Mime::isPrintable()</methodname>: Returns
+                    <constant>TRUE</constant> if the given string contains no unprintable
+                    characters, <constant>FALSE</constant> otherwise.
                 </para>
             </listitem>
+
             <listitem>
                 <para>
                     <methodname>Zend_Mime::encode()</methodname>: Encodes a string with specified encoding.

+ 6 - 4
documentation/manual/en/module_specs/Zend_Mime_Message.xml

@@ -38,10 +38,12 @@
         to be given back to the <link linkend="zend.mime.part"><classname>Zend_Mime_Part</classname></link>
         object by calling <code>-&gt;setParts($partsArray)</code>.</para>
 
-        <para>The function <code>-&gt;isMultiPart()</code> will return true if
-        more than one part is registered with the <classname>Zend_Mime_Message</classname> object and thus
-        the object would generate a Multipart-Mime-Message when generating the
-        actual output.</para>
+        <para>
+            The function <code>-&gt;isMultiPart()</code> will return <constant>TRUE</constant> if
+            more than one part is registered with the <classname>Zend_Mime_Message</classname>
+            object and thus the object would generate a Multipart-Mime-Message when generating the
+            actual output.
+        </para>
     </sect2>
 
     <sect2 id="zend.mime.message.bondary">

+ 1 - 1
documentation/manual/en/module_specs/Zend_Navigation-Containers.xml

@@ -514,7 +514,7 @@ $container->removePages();      // removes all pages
             pages matching the given <code>$page->$property == $value</code>.
             The first method, <methodname>findOneBy()</methodname>, will return a
             single page matching the property with the given value, or
-            null if it cannot be found. The second method will return
+            <constant>NULL</constant> if it cannot be found. The second method will return
             all pages with a property matching the given value. The third
             method will call one of the two former methods depending on the
             <varname>$all</varname> flag.

+ 3 - 1
documentation/manual/en/module_specs/Zend_Navigation-Pages-URI.xml

@@ -39,8 +39,10 @@
                     <entry><code>uri</code></entry>
                     <entry><type>String</type></entry>
                     <entry><constant>NULL</constant></entry>
+
                     <entry>
-                        <acronym>URI</acronym> to page. This can be any string or null.
+                        <acronym>URI</acronym> to page. This can be any string or
+                        <constant>NULL</constant>.
                     </entry>
                 </row>
             </tbody>

+ 8 - 8
documentation/manual/en/module_specs/Zend_OpenId-Consumer.xml

@@ -101,9 +101,9 @@ if (!$consumer->login($_POST['openid_identifier'], 'example-1_3.php')) {
 
         <para>
             On success, <methodname>Zend_OpenId_Consumer::login()</methodname> does not
-            return, instead performing an <acronym>HTTP</acronym> redirection. However, if there is an error
-            it may return false. Errors may occur due to an invalid identity, unresponsive
-            provider, communication error, etc.
+            return, instead performing an <acronym>HTTP</acronym> redirection. However, if there is
+            an error it may return <constant>FALSE</constant>. Errors may occur due to an invalid
+            identity, unresponsive provider, communication error, etc.
         </para>
 
         <para>
@@ -611,10 +611,10 @@ if (!$consumer->login($_POST['openid_identifier'],
             As you can see, the <classname>Zend_OpenId_Extension_Sreg</classname>
             constructor accepts an array of OpenID fields. This array has the names of
             fields as indexes to a flag indicating whether the field is required;
-            <emphasis>true</emphasis> means the field is required and
-            <emphasis>false</emphasis> means the field is optional. The
-            <classname>Zend_OpenId_Consumer::login</classname> method accepts an extension or an array of
-            extensions as its fourth argument.
+            <constant>TRUE</constant> means the field is required and
+            <constant>FALSE</constant> means the field is optional. The
+            <classname>Zend_OpenId_Consumer::login</classname> method accepts an extension or an
+            array of extensions as its fourth argument.
         </para>
 
         <para>
@@ -657,7 +657,7 @@ if ($consumer->verify($_GET, $id, $sreg)) {
             data itself. However, if the object is created with the same list of
             required fields as on the second step, it will automatically check for the
             existence of required data. In this case, <classname>Zend_OpenId_Consumer::verify</classname>
-            will return <emphasis>false</emphasis> if any of the required fields are
+            will return <constant>FALSE</constant> if any of the required fields are
             missing.
         </para>
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Paginator-Usage.xml

@@ -104,7 +104,7 @@ $paginator = Zend_Paginator::factory($array);
 
         <note>
             <para>
-                In the case of the Null adapter, in lieu of a data collection
+                In the case of the <classname>Null</classname> adapter, in lieu of a data collection
                 you must supply an item count to its constructor.
             </para>
         </note>

+ 21 - 17
documentation/manual/en/module_specs/Zend_Pdf-InteractiveFeatures.xml

@@ -536,9 +536,10 @@
             <para>
                 <methodname>Zend_Pdf::resolveDestination()</methodname> method also takes
                 an optional boolean parameter <varname>$refreshPageCollectionHashes</varname>,
-                which is true by default. It forces <classname>Zend_Pdf</classname> object
-                to refresh internal page collection hashes since document pages list may be
-                updated by user using <varname>Zend_Pdf::$pages</varname> property
+                which is <constant>TRUE</constant> by default. It forces
+                <classname>Zend_Pdf</classname> object to refresh internal page collection hashes
+                since document pages list may be updated by user using
+                <varname>Zend_Pdf::$pages</varname> property
                 (<link linkend="zend.pdf.pages">Working with Pages</link>).
                 It may be turned off for performance reasons,
                 if it's known that document pages list wasn't changed since last method
@@ -807,7 +808,8 @@ $pdf->resolveDestination(Zend_Pdf_Destination_Named::create('Page3'));
             <para>
                 <methodname>Zend_Pdf_Action_URI::create($uri[, $isMap])</methodname> method has
                 to be used to create a URI action (see API documentation for the details).
-                Optional <varname>$isMap</varname> parameter is set to false by default.
+                Optional <varname>$isMap</varname> parameter is set to <constant>FALSE</constant>
+                by default.
             </para>
 
             <para>
@@ -881,13 +883,14 @@ printf("Actions in a tree: %d\n", $actionsCount++);
 
             <para>
                 <methodname>Zend_Pdf_Target Zend_Pdf::getOpenAction()</methodname> method
-                returns current document open action (or null if open action is not set).
+                returns current document open action (or <constant>NULL</constant> if open action
+                is not set).
             </para>
 
             <para>
                 <methodname>setOpenAction(Zend_Pdf_Target $openAction = null)</methodname>
                 method sets document open action or clean it if <varname>$openAction</varname>
-                is null.
+                is <constant>NULL</constant>.
             </para>
         </sect3>
     </sect2>
@@ -948,8 +951,8 @@ $pdf->save($path, true);
 
             <listitem>
                 <para>
-                    <methodname>boolean isOpen()</methodname> - true if outline is open
-                    by default.
+                    <methodname>boolean isOpen()</methodname> - <constant>TRUE</constant> if outline
+                    is open by default.
                 </para>
             </listitem>
 
@@ -961,8 +964,8 @@ $pdf->save($path, true);
 
             <listitem>
                 <para>
-                    <methodname>boolean isItalic()</methodname> - true if outline item
-                    is displayed in italic.
+                    <methodname>boolean isItalic()</methodname> - <constant>TRUE</constant> if
+                    outline item is displayed in italic.
                 </para>
             </listitem>
 
@@ -975,8 +978,8 @@ $pdf->save($path, true);
 
             <listitem>
                 <para>
-                    <methodname>boolean isBold()</methodname> - true if outline item
-                    is displayed in bold.
+                    <methodname>boolean isBold()</methodname> - <constant>TRUE</constant> if outline
+                    item is displayed in bold.
                 </para>
             </listitem>
 
@@ -990,14 +993,14 @@ $pdf->save($path, true);
             <listitem>
                 <para>
                     <methodname>Zend_Pdf_Color_Rgb getColor()</methodname> - get outline
-                    text color (null means black).
+                    text color (<constant>NULL</constant> means black).
                 </para>
             </listitem>
 
             <listitem>
                 <para>
                     <methodname>setColor(Zend_Pdf_Color_Rgb $color)</methodname> - set
-                    outline text color (null means black).
+                    outline text color (<constant>NULL</constant> means black).
                 </para>
             </listitem>
 
@@ -1012,7 +1015,7 @@ $pdf->save($path, true);
                 <para>
                     <methodname>setTarget(Zend_Pdf_Target|string $target)</methodname> - set
                     outline target (action or destination). String may be used to identify
-                    named destination. Null means 'no target'.
+                    named destination. <constant>NULL</constant> means 'no target'.
                 </para>
             </listitem>
 
@@ -1094,8 +1097,9 @@ $pdf->save($path, true);
         <note>
             <para>
                 All outline items with unresolved destinations (or destinations of GoTo
-                actions) are updated while document saving by setting their targets to null.
-                So document will not be corrupted by removing pages referenced by outlines.
+                actions) are updated while document saving by setting their targets to
+                <constant>NULL</constant>. So document will not be corrupted by removing pages
+                referenced by outlines.
             </para>
         </note>
     </sect2>

+ 10 - 5
documentation/manual/en/module_specs/Zend_Pdf-Properties.xml

@@ -138,19 +138,24 @@ $pdf->save($pdfPath);
                     <itemizedlist>
                         <listitem>
                             <para>
-                                <emphasis>true</emphasis> - The document has been fully trapped; no further trapping is needed.
+                                <emphasis><constant>TRUE</constant></emphasis> - The document has
+                                been fully trapped; no further trapping is needed.
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
-                                <emphasis>false</emphasis> - The document has not yet been trapped; any desired trapping must still be done.
+                                <emphasis><constant>FALSE</constant></emphasis> - The document has
+                                not yet been trapped; any desired trapping must still be done.
                             </para>
                         </listitem>
+
                         <listitem>
                             <para>
-                                <emphasis>null</emphasis> - Either it is unknown whether the document has been
-                                trapped or it has been partly but not yet fully trapped; some
-                                additional trapping may still be needed.
+                                <emphasis><constant>NULL</constant></emphasis> - Either it is
+                                unknown whether the document has been trapped or it has been partly
+                                but not yet fully trapped; some additional trapping may still be
+                                needed.
                             </para>
                         </listitem>
                     </itemizedlist>

+ 12 - 6
documentation/manual/en/module_specs/Zend_Pdf-Save.xml

@@ -2,19 +2,25 @@
 <!-- Reviewed: no -->
 <sect1 id="zend.pdf.save">
     <title>Save Changes to PDF Documents</title>
+
     <para>
-    There are two methods that save changes to <acronym>PDF</acronym> documents: the <methodname>Zend_Pdf::save()</methodname> and
-    <methodname>Zend_Pdf::render()</methodname> methods.
+        There are two methods that save changes to <acronym>PDF</acronym> documents: the
+        <methodname>Zend_Pdf::save()</methodname> and <methodname>Zend_Pdf::render()</methodname>
+        methods.
     </para>
 
     <para>
-    <methodname>Zend_Pdf::save($filename, $updateOnly = false)</methodname> saves the <acronym>PDF</acronym> document to a file. If $updateOnly
-    is true, then only the new <acronym>PDF</acronym> file segment is appended to a file. Otherwise, the file is overwritten.
+        <methodname>Zend_Pdf::save($filename, $updateOnly = false)</methodname> saves the
+        <acronym>PDF</acronym> document to a file. If $updateOnly is <constant>TRUE</constant>,
+        then only the new <acronym>PDF</acronym> file segment is appended to a file. Otherwise, the
+        file is overwritten.
     </para>
 
     <para>
-    <methodname>Zend_Pdf::render($newSegmentOnly = false)</methodname> returns the <acronym>PDF</acronym> document as a string. If
-    $newSegmentOnly is true, then only the new <acronym>PDF</acronym> file segment is returned.
+        <methodname>Zend_Pdf::render($newSegmentOnly = false)</methodname> returns the
+        <acronym>PDF</acronym> document as a string. If $newSegmentOnly is
+        <constant>TRUE</constant>, then only the new <acronym>PDF</acronym> file segment is
+        returned.
     </para>
 
     <example id="zend.pdf.save.example-1">

+ 5 - 4
documentation/manual/en/module_specs/Zend_Queue-Adapters.xml

@@ -564,7 +564,7 @@ $queue = new Zend_Queue('Db', $options);
                                     <para>
                                         <varname>preserved</varname> - whether or not to retain the
                                         job within the Job Queue history. By default, off; pass a
-                                        true value to retain it.
+                                        <constant>TRUE</constant> value to retain it.
                                     </para>
                                 </listitem>
 
@@ -606,9 +606,10 @@ $queue = new Zend_Queue('Db', $options);
                                 <listitem>
                                     <para>
                                         <varname>application_id</varname> - the application
-                                        identifier of the job. By default, this is null, indicating
-                                        that one will be automatically assigned by the queue, if the
-                                        queue was assigned an application ID.
+                                        identifier of the job. By default, this is
+                                        <constant>NULL</constant>, indicating that one will be
+                                        automatically assigned by the queue, if the queue was
+                                        assigned an application ID.
                                     </para>
                                 </listitem>
                             </itemizedlist>

+ 2 - 1
documentation/manual/en/module_specs/Zend_Registry.xml

@@ -40,7 +40,8 @@ Zend_Registry::set('index', $value);
         </para>
 
         <para>
-            The index can be a scalar (<constant>NULL</constant>, string, or number), like an ordinary array.
+            The index can be a scalar (<constant>NULL</constant>, string, or number), like an
+            ordinary array.
         </para>
 
     </sect2>

+ 21 - 12
documentation/manual/en/module_specs/Zend_Search_Lucene-Overview.xml

@@ -273,10 +273,13 @@ $index->addDocument($doc);
         </para>
 
         <para>
-            The <methodname>loadHTML()</methodname> and <methodname>loadHTMLFile()</methodname> methods of <classname>Zend_Search_Lucene_Document_Html</classname> class
-            also have second optional argument. If it's set to true, then body content is also stored within index and can
-            be retrieved from the index. By default, the body is tokenized and indexed, but not stored.
+            The <methodname>loadHTML()</methodname> and <methodname>loadHTMLFile()</methodname>
+            methods of <classname>Zend_Search_Lucene_Document_Html</classname> class also have
+            second optional argument. If it's set to <constant>TRUE</constant>, then body content is
+            also stored within index and can be retrieved from the index. By default, the body is
+            tokenized and indexed, but not stored.
         </para>
+
         <para>
             The third parameter of <methodname>loadHTML()</methodname> and <methodname>loadHTMLFile()</methodname> methods optionally specifies source HTML
             document encoding. It's used if encoding is not specified using Content-type HTTP-EQUIV meta tag.
@@ -388,9 +391,11 @@ $index->addDocument($doc);
         </para>
 
         <para>
-            The <methodname>loadDocxFile()</methodname> methods of <classname>Zend_Search_Lucene_Document_Docx</classname> class
-            also have second optional argument. If it's set to true, then body content is also stored within index and can
-            be retrieved from the index. By default, the body is tokenized and indexed, but not stored.
+            The <methodname>loadDocxFile()</methodname> methods of
+            <classname>Zend_Search_Lucene_Document_Docx</classname> class also have second optional
+            argument. If it's set to <constant>TRUE</constant>, then body content is also stored
+            within index and can be retrieved from the index. By default, the body is tokenized and
+            indexed, but not stored.
         </para>
 
         <para>
@@ -476,9 +481,11 @@ $index->addDocument($doc);
         </para>
 
         <para>
-            The <methodname>loadPptxFile()</methodname> methods of <classname>Zend_Search_Lucene_Document_Pptx</classname> class
-            also have second optional argument. If it's set to true, then body content is also stored within index and can
-            be retrieved from the index. By default, the body is tokenized and indexed, but not stored.
+            The <methodname>loadPptxFile()</methodname> methods of
+            <classname>Zend_Search_Lucene_Document_Pptx</classname> class also have second optional
+            argument. If it's set to <constant>TRUE</constant>, then body content is also stored
+            within index and can be retrieved from the index. By default, the body is tokenized and
+            indexed, but not stored.
         </para>
 
         <para>
@@ -561,9 +568,11 @@ $index->addDocument($doc);
         </para>
 
         <para>
-            The <methodname>loadXlsxFile()</methodname> methods of <classname>Zend_Search_Lucene_Document_Xlsx</classname> class
-            also have second optional argument. If it's set to true, then body content is also stored within index and can
-            be retrieved from the index. By default, the body is tokenized and indexed, but not stored.
+            The <methodname>loadXlsxFile()</methodname> methods of
+            <classname>Zend_Search_Lucene_Document_Xlsx</classname> class also have second optional
+            argument. If it's set to <constant>TRUE</constant>, then body content is also stored
+            within index and can be retrieved from the index. By default, the body is tokenized and
+            indexed, but not stored.
         </para>
 
         <para>

+ 17 - 9
documentation/manual/en/module_specs/Zend_Search_Lucene-Queries.xml

@@ -205,9 +205,11 @@ $hits  = $index->find($query);
                         <constant>FALSE</constant> is used to define prohibited term.
                     </para>
                 </listitem>
+
                 <listitem>
                     <para>
-                        <constant>NULL</constant> is used to define a term that is neither required nor prohibited.
+                        <constant>NULL</constant> is used to define a term that is neither required
+                        nor prohibited.
                     </para>
                 </listitem>
             </itemizedlist>
@@ -335,9 +337,11 @@ $hits  = $index->find($query);
                         <constant>FALSE</constant> is used to define prohibited subquery.
                     </para>
                 </listitem>
+
                 <listitem>
                     <para>
-                        <constant>NULL</constant> is used to define a subquery that is neither required nor prohibited.
+                        <constant>NULL</constant> is used to define a subquery that is neither
+                        required nor prohibited.
                     </para>
                 </listitem>
             </itemizedlist>
@@ -514,18 +518,21 @@ Zend_Search_Lucene_Search_Query_Phrase(
 ]]></programlisting>
 
         <para>
-            The <varname>$terms</varname> parameter is an array of strings that contains a set of phrase terms.
-            If it's omitted or equal to null, then an empty query is constructed.
+            The <varname>$terms</varname> parameter is an array of strings that contains a set of
+            phrase terms. If it's omitted or equal to <constant>NULL</constant>, then an empty query
+            is constructed.
         </para>
 
         <para>
-            The <varname>$offsets</varname> parameter is an array of integers that contains offsets of terms in a phrase.
-            If it's omitted or equal to null, then the terms' positions are assumed to be sequential with no gaps.
+            The <varname>$offsets</varname> parameter is an array of integers that contains offsets
+            of terms in a phrase. If it's omitted or equal to <constant>NULL</constant>, then the
+            terms' positions are assumed to be sequential with no gaps.
         </para>
 
         <para>
-            The <varname>$field</varname> parameter is a string that indicates the document field to search.
-            If it's omitted or equal to null, then the default field is searched.
+            The <varname>$field</varname> parameter is a string that indicates the document field
+            to search. If it's omitted or equal to <constant>NULL</constant>, then the default field
+            is searched.
         </para>
 
         <para>
@@ -682,7 +689,8 @@ $hits  = $index->find($query);
         </para>
 
         <para>
-            Either (but not both) of the boundary terms may be set to null. <classname>Zend_Search_Lucene</classname> searches from the beginning or
+            Either (but not both) of the boundary terms may be set to <constant>NULL</constant>.
+            <classname>Zend_Search_Lucene</classname> searches from the beginning or
             up to the end of the dictionary for the specified field(s) in this case:
             <programlisting language="php"><![CDATA[
 // searches for ['20020101' TO ...]

+ 3 - 2
documentation/manual/en/module_specs/Zend_Service_Akismet.xml

@@ -170,8 +170,9 @@ if ($akismet->verifyKey($apiKey) {
         </para>
 
         <para>
-            The <methodname>isSpam()</methodname> method will return either true or
-            false, or throw an exception if the <acronym>API</acronym> key is invalid.
+            The <methodname>isSpam()</methodname> method will return either
+            <constant>TRUE</constant> or <constant>FALSE</constant>, or throw an exception if the
+            <acronym>API</acronym> key is invalid.
         </para>
 
         <example id="zend.service.akismet.isspam.example-1">

+ 11 - 4
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Ebs.xml

@@ -166,13 +166,15 @@ $return = $ec2_ebs->attachVolume('volumeId', 'instanceid', '/dev/sdh');
 
         <example id="zend.service.amazon.ec2.ebs.attachdetach.detach">
             <title>Detaching an EBS Volume</title>
+
             <para>
                 <code>detachVolume</code> will detach an EBS Volume from a running Instance.
                 <code>detachVolume</code> requires that you specify the volumeId with the optional
                 instanceId and device name that was passed when attaching the volume. If you need to
-                force the detachment you can set the forth parameter to be true and it will force
-                the volume to detach.
+                force the detachment you can set the forth parameter to be <constant>TRUE</constant>
+                and it will force the volume to detach.
             </para>
+
             <para>
                 <code>detachVolume</code> returns an array containing status information about
                 the EBS Volume which includes volumeId, instanceId, device, status and attachTime.
@@ -205,8 +207,10 @@ $return = $ec2_ebs->detachVolume('volumeId');
             <para>
                 <code>deleteVolume</code> will delete an unattached EBS Volume.
             </para>
+
             <para>
-                <code>deleteVolume</code> will return boolean true or false.
+                <code>deleteVolume</code> will return boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -217,11 +221,14 @@ $return = $ec2_ebs->deleteVolume('volumeId');
 
         <example id="zend.service.amazon.ec2.ebs.deleting.snapshot">
             <title>Deleting an EBS Volume Snapshot</title>
+
             <para>
                 <code>deleteSnapshot</code> will delete an EBS Volume Snapshot.
             </para>
+
             <para>
-                <code>deleteSnapshot</code> returns booleen true or false.
+                <code>deleteSnapshot</code> returns booleen <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
 
             <programlisting language="php"><![CDATA[

+ 6 - 3
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Elasticip.xml

@@ -74,8 +74,9 @@ $ip = $ec2_eip->describe('ip1');
         <para>
             <code>release</code> will release an Elastic IP to Amazon.
         </para>
+
         <para>
-            Returns a boolean true or false.
+            Returns a boolean <constant>TRUE</constant> or <constant>FALSE</constant>.
         </para>
 
         <programlisting language="php"><![CDATA[
@@ -90,8 +91,9 @@ $ec2_eip->release('ipaddress');
             <code>associate</code> will assign an Elastic IP to an
             already running instance.
         </para>
+
         <para>
-            Returns a boolean true or false.
+            Returns a boolean <constant>TRUE</constant> or <constant>FALSE</constant>.
         </para>
 
         <programlisting language="php"><![CDATA[
@@ -107,8 +109,9 @@ $ec2_eip->associate('instance_id', 'ipaddress');
             If you terminate an Instance it will automaticly disassociate the Elastic
             IP address for you.
         </para>
+
         <para>
-            Returns a boolean true or false.
+            Returns a boolean <constant>TRUE</constant> or <constant>FALSE</constant>.
         </para>
 
         <programlisting language="php"><![CDATA[

+ 7 - 2
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Image.xml

@@ -35,8 +35,10 @@ $ip = $ec2_img->register('imageLocation');
                 <code>deregister</code>, Deregisters an <acronym>AMI</acronym>. Once deregistered, instances
                 of the <acronym>AMI</acronym> can no longer be launched.
             </para>
+
             <para>
-                <code>deregister</code> returns boolean true or false.
+                <code>deregister</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -162,9 +164,12 @@ $ip = $ec2_img->describe();
                 </tgroup>
             </table>
             </para>
+
             <para>
-                <code>modifyAttribute</code> returns boolean true or false.
+                <code>modifyAttribute</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
+
             <programlisting language="php"><![CDATA[
 $ec2_img = new Zend_Service_Amazon_Ec2_Image('aws_key','aws_secret_key');
 // modify the launchPermission of an AMI

+ 30 - 16
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Instance.xml

@@ -331,7 +331,8 @@ $return = $ec2_instance->run(array('imageId' => 'ami-509320',
                 to reboot terminated instances are ignored.
             </para>
             <para>
-                <code>reboot</code> returns boolean true or false
+                <code>reboot</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>
             </para>
             <programlisting language="php"><![CDATA[
 $ec2_instance = new Zend_Service_Amazon_Ec2_Instance('aws_key',
@@ -348,9 +349,12 @@ $return = $ec2_instance->reboot('instanceId');
                 operation is idempotent; if you terminate an instance more
                 than once, each call will succeed.
             </para>
+
             <para>
-                <code>terminate</code> returns boolean true or false
+                <code>terminate</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>
             </para>
+
             <programlisting language="php"><![CDATA[
 $ec2_instance = new Zend_Service_Amazon_Ec2_Instance('aws_key',
                                                      'aws_secret_key');
@@ -396,10 +400,13 @@ $return = $ec2_instance->describe('instanceId');
 
         <note>
             <title>Terminated Instances</title>
-            <para>Recently terminated instances might appear in the returned results.
-                This interval is usually less than one hour. If you do not want terminated
-                instances to be returned, pass in a second variable of boolean true to
-                <code>describe</code> and the terminated instances will be ignored.</para>
+
+            <para>
+                Recently terminated instances might appear in the returned results. This interval is
+                usually less than one hour. If you do not want terminated instances to be returned,
+                pass in a second variable of boolean <constant>TRUE</constant> to
+                <code>describe</code> and the terminated instances will be ignored.
+            </para>
         </note>
 
         <example id="zend.service.amazon.ec2.instance.utility.describebyimageid">
@@ -421,10 +428,14 @@ $return = $ec2_instance->describeByImageId('imageId');
 
             <note>
                 <title>Terminated Instances</title>
-                <para>Recently terminated instances might appear in the returned results.
-                This interval is usually less than one hour. If you do not want terminated
-                instances to be returned, pass in a second variable of boolean true to
-                <code>describe</code> and the terminated instances will be ignored.</para>
+
+                <para>
+                    Recently terminated instances might appear in the returned results. This
+                    interval is usually less than one hour. If you do not want terminated
+                    instances to be returned, pass in a second variable of boolean
+                    <constant>TRUE</constant> to <code>describe</code> and the terminated instances
+                    will be ignored.
+                </para>
             </note>
 
         <example id="zend.service.amazon.ec2.instance.utility.consoleOutput">
@@ -454,16 +465,19 @@ $return = $ec2_instance->consoleOutput('instanceId');
 
         <example id="zend.service.amazon.ec2.instance.utility.confirmproduct">
             <title>Confirm Product Code on an Instance</title>
+
             <para>
-                <code>confirmProduct</code> returns true if the specified product code
-                is attached to the specified instance. The operation returns false if
-                the product code is not attached to the instance.
+                <code>confirmProduct</code> returns <constant>TRUE</constant> if the specified
+                product code is attached to the specified instance. The operation returns
+                <constant>FALSE</constant> if the product code is not attached to the instance.
             </para>
+
             <para>
-                The <code>confirmProduct</code> operation can only be executed by the
-                owner of the <acronym>AMI</acronym>. This feature is useful when an <acronym>AMI</acronym> owner is providing
-                support and wants to verify whether a user's instance is eligible.
+                The <code>confirmProduct</code> operation can only be executed by the owner of the
+                <acronym>AMI</acronym>. This feature is useful when an <acronym>AMI</acronym> owner
+                is providing support and wants to verify whether a user's instance is eligible.
             </para>
+
             <programlisting language="php"><![CDATA[
 $ec2_instance = new Zend_Service_Amazon_Ec2_Instance('aws_key',
                                                      'aws_secret_key');

+ 4 - 1
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Keypair.xml

@@ -30,9 +30,12 @@ $return = $ec2_kp->create('my-new-key');
             prevent it from being used with new instances. Instances currently
             running with the keypair will still allow you to access them.
         </para>
+
         <para>
-            <code>delete</code> returns boolean true or false
+            <code>delete</code> returns boolean <constant>TRUE</constant> or
+            <constant>FALSE</constant>
         </para>
+
         <programlisting language="php"><![CDATA[
 $ec2_kp = new Zend_Service_Amazon_Ec2_Keypair('aws_key','aws_secret_key');
 $return = $ec2_kp->delete('my-new-key');

+ 18 - 6
documentation/manual/en/module_specs/Zend_Service_Amazon_Ec2-Securitygroups.xml

@@ -32,8 +32,10 @@
                 network access to each other. Instances will reject network access
                 attempts from other instances in a different security group.
             </para>
+
             <para>
-                <code>create</code> returns boolean true or false
+                <code>create</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -78,8 +80,10 @@ $return = $ec2_sg->describe('mygroup');
                 has a rule that allows access from security group A, security group A
                 cannot be deleted until the allow rule is removed.
             </para>
+
             <para>
-                <code>delete</code> returns boolean true or false.
+                <code>delete</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -111,8 +115,10 @@ $return = $ec2_sg->delete('mygroup');
                 as quickly as possible. However, depending on the number of instances, a
                 small delay might occur.
             </para>
+
             <para>
-                <code>authorizeIp</code> returns boolean true or false
+                <code>authorizeIp</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -136,8 +142,10 @@ $return = $ec2_sg->authorizeIp('mygroup',
                 as quickly as possible. However, depending on the number of instances, a
                 small delay might occur.
             </para>
+
             <para>
-                <code>authorizeGroup</code> returns boolean true or false.
+                <code>authorizeGroup</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -170,8 +178,10 @@ $return = $ec2_sg->authorizeGroup('mygroup', 'securityGroupName', 'ownerId');
                 as quickly as possible. However, depending on the number of instances, a
                 small delay might occur.
             </para>
+
             <para>
-                <code>revokeIp</code> returns boolean true or false
+                <code>revokeIp</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -197,8 +207,10 @@ $return = $ec2_sg->revokeIp('mygroup',
                 as quickly as possible. However, depending on the number of instances, a
                 small delay might occur.
             </para>
+
             <para>
-                <code>revokeGroup</code> returns boolean true or false.
+                <code>revokeGroup</code> returns boolean <constant>TRUE</constant> or
+                <constant>FALSE</constant>.
             </para>
 
             <programlisting language="php"><![CDATA[

+ 4 - 3
documentation/manual/en/module_specs/Zend_Service_Amazon_S3.xml

@@ -191,10 +191,11 @@ foreach($list as $bucket) {
 ]]></programlisting>
         </example>
             </listitem>
+
             <listitem>
                 <para>
-                    <methodname>isBucketAvailable()</methodname> check if the bucket exists and returns true
-                    if it does.
+                    <methodname>isBucketAvailable()</methodname> check if the bucket exists and returns
+                    <constant>TRUE</constant> if it does.
                 </para>
             </listitem>
         </itemizedlist>
@@ -331,7 +332,7 @@ echo "Go to http://s3.amazonaws.com/my-own-bucket/Pictures/Me.png to see me!\n";
                             </listitem>
                         </varlistentry>
                         </variablelist>
-                        The function will return false if the key does not correspond to any existing object.
+                        The function will return <constant>FALSE</constant> if the key does not correspond to any existing object.
                 </para>
             </listitem>
             <listitem>

+ 2 - 1
documentation/manual/en/module_specs/Zend_Service_Twitter.xml

@@ -773,7 +773,8 @@ $response2 = $twitter->block->exists('blockeduser', true);
                     <listitem>
                         <para>
                             <code>returnResult</code> specifies whether or not return the user
-                            object instead of just true or false.
+                            object instead of just <constant>TRUE</constant> or
+                            <constant>FALSE</constant>.
                         </para>
                     </listitem>
                 </itemizedlist>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Service_Twitter_Search.xml

@@ -103,7 +103,7 @@ foreach ($twitterTrends as $trend) {
                 <para>
                     <code>show_user</code> specifies whether to add "&gt;user&lt;:" to the
                     beginning of the tweet. This is useful for readers that do not display Atom's
-                    author field. The default is "false".
+                    author field. The default is "<constant>FALSE</constant>".
                 </para>
             </listitem>
 

+ 1 - 1
documentation/manual/en/module_specs/Zend_Soap_Wsdl.xml

@@ -296,7 +296,7 @@
                                 class as detection algorithm for complex types. The first parameter of the AutoDiscover constructor takes
                                 any complex type strategy implementing <classname>Zend_Soap_Wsdl_Strategy_Interface</classname> or a string with the name
                                 of the class. For backwards compatibility with <varname>$extractComplexType</varname> boolean variables are parsed
-                                the following way: If true, <classname>Zend_Soap_Wsdl_Strategy_DefaultComplexType</classname>, if false
+                                the following way: If <constant>TRUE</constant>, <classname>Zend_Soap_Wsdl_Strategy_DefaultComplexType</classname>, if <constant>FALSE</constant>
                                 <classname>Zend_Soap_Wsdl_Strategy_AnyType</classname>.
                             </para>
                         </footnote>.

+ 2 - 2
documentation/manual/en/module_specs/Zend_Test-PHPUnit-Db-Testing.xml

@@ -154,8 +154,8 @@
                         <entry>
                             Create a DataTable Object that is filled with the data from a given
                             <classname>Zend_Db_Table_Rowset_Abstract</classname> instance. The table
-                            the rowset is connected to is chosen when <varname>$tableName</varname> is
-                            null.
+                            the rowset is connected to is chosen when <varname>$tableName</varname>
+                            is <constant>NULL</constant>.
                         </entry>
                     </row>
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Text_Figlet.xml

@@ -52,8 +52,8 @@
             <listitem>
                 <para>
                     <code>handleParagraphs</code> - A boolean which indicates,
-                    how new lines are handled. When set to true, single new lines
-                    are ignored and instead treated as single spaces. Only multiple
+                    how new lines are handled. When set to <constant>TRUE</constant>, single new
+                    lines are ignored and instead treated as single spaces. Only multiple
                     new lines will be handled as such. The default value is
                     <constant>FALSE</constant>.
                 </para>

+ 32 - 21
documentation/manual/en/module_specs/Zend_Translate-Additional.xml

@@ -68,21 +68,21 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                         <entry>clear</entry>
                         <entry>all</entry>
                         <entry>
-                            If set to true, the already read translations will be cleared. This can
-                            be used instead of creating a new instance when reading new translation
-                            data
+                            If set to <constant>TRUE</constant>, the already read translations will
+                            be cleared. This can be used instead of creating a new instance when
+                            reading new translation data
                         </entry>
-                        <entry><emphasis>false</emphasis></entry>
+                        <entry><emphasis><constant>FALSE</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>disableNotices</entry>
                         <entry>all</entry>
                         <entry>
-                            If set to true, all notices regarding not available translations will
-                            be disabled. You should set this option to true in production
-                            environment
+                            If set to <constant>TRUE</constant>, all notices regarding not available
+                            translations will be disabled. You should set this option to
+                            <constant>TRUE</constant> in production environment
                         </entry>
-                        <entry><emphasis>false</emphasis></entry>
+                        <entry><emphasis><constant>FALSE</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>ignore</entry>
@@ -105,7 +105,7 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                             An instance of <classname>Zend_Log</classname> where untranslated
                             messages and notices will be written to
                         </entry>
-                        <entry><emphasis>null</emphasis></entry>
+                        <entry><emphasis><constant>NULL</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>logMessage</entry>
@@ -120,34 +120,42 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                     <row>
                         <entry>logUntranslated</entry>
                         <entry>all</entry>
+
                         <entry>
-                            When this option is set to true, all message IDs which can not be
-                            translated will be written into the attached log
+                            When this option is set to <constant>TRUE</constant>, all message IDs
+                            which can not be translated will be written into the attached log
                         </entry>
-                        <entry><emphasis>false</emphasis></entry>
+
+                        <entry><emphasis><constant>FALSE</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>reload</entry>
                         <entry>all</entry>
+
                         <entry>
-                            When this option is set to true, then files are reloaded into the cache.
-                            This option can be used to recreate the cache, or to add translations
-                            to already cached data after the cache has already been created.
+                            When this option is set to <constant>TRUE</constant>, then files are
+                            reloaded into the cache. This option can be used to recreate the cache,
+                            or to add translations to already cached data after the cache has
+                            already been created.
                         </entry>
-                        <entry><emphasis>false</emphasis></entry>
+
+                        <entry><emphasis><constant>FALSE</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>scan</entry>
                         <entry>all</entry>
+
                         <entry>
-                            If set to null, no scanning of the directory structure will be done.
-                            If set to <constant>Zend_Translate::LOCALE_DIRECTORY</constant> the
+                            If set to <constant>NULL</constant>, no scanning of the directory
+                            structure will be done. If set to
+                            <constant>Zend_Translate::LOCALE_DIRECTORY</constant> the
                             locale will be detected within the directory. If set to
                             <constant>Zend_Translate::LOCALE_FILENAME</constant> the locale will
                             be detected within the filename. See <xref
                                 linkend="zend.translate.additional.detection" /> for details
                         </entry>
-                        <entry><emphasis>null</emphasis></entry>
+
+                        <entry><emphasis><constant>NULL</constant></emphasis></entry>
                     </row>
                     <row>
                         <entry>delimiter</entry>
@@ -178,13 +186,15 @@ $translate->addTranslation('/path/to/new.csv', 'fr', $options);
                     <row>
                         <entry>useId</entry>
                         <entry>Xliff</entry>
+
                         <entry>
                             If you set this option to <constant>FALSE</constant>, then the source
                             string will be used as message Id. The default for this option is
                             <constant>TRUE</constant>, which means that the Id from the trans-unit
                             element will be used as message Id
                         </entry>
-                        <entry><emphasis>true</emphasis></entry>
+
+                        <entry><emphasis><constant>TRUE</constant></emphasis></entry>
                     </row>
                 </tbody>
             </tgroup>
@@ -616,7 +626,8 @@ $translate = new Zend_Translate(
             whether translation is fixed to the declared language or a lower set of translations
             can be used. If you have a text which can be returned for 'en' but not for 'en_US' you
             will normally get the translation returned, but by setting <varname>$original</varname> to
-            true, <methodname>isTranslated()</methodname> will return false.
+            <constant>TRUE</constant>, <methodname>isTranslated()</methodname> will return
+            <constant>FALSE</constant>.
         </para>
 
         <example id="zend.translate.additional.istranslated.example">

+ 4 - 4
documentation/manual/en/module_specs/Zend_Uri.xml

@@ -122,7 +122,7 @@ $valid = Zend_Uri::check('http://uri.in.question');
 
             <para>
                 <classname>Zend_Uri</classname> can be set to accept these "unwise" characters by
-                setting the 'allow_unwise' option to boolean TRUE using
+                setting the 'allow_unwise' option to boolean <constant>TRUE</constant> using
                 <methodname>Zend_Uri::setConfig()</methodname>:
             </para>
 
@@ -148,9 +148,9 @@ Zend_Uri::setConfig(array('allow_unwise' => false));
             <note>
                 <para>
                     <methodname>Zend_Uri::setConfig()</methodname> sets configuration options
-                    globally. It is recommended to reset the 'allow_unwise' option to 'false',
-                    like in the example above, unless you are certain you want to always allow
-                    unwise characters globally.
+                    globally. It is recommended to reset the 'allow_unwise' option to
+                    '<constant>FALSE</constant>', like in the example above, unless you are certain
+                    you want to always allow unwise characters globally.
                 </para>
             </note>
         </sect3>

+ 7 - 7
documentation/manual/en/module_specs/Zend_Validate-EmailAddress.xml

@@ -212,13 +212,13 @@ $validator = new Zend_Validate_EmailAddress(
         </para>
 
         <para>
-            Sometimes validation for MX records returns false, even if emails are accepted. The
-            reason behind this behaviour is, that servers can accept emails even if they do not
-            provide a MX record. In this case they can provide A, A6 or <constant>AAAA</constant>
-            records. To allow <classname>Zend_Validate_EmailAddress</classname> to check also for
-            these other records, you need to set deep MX validation. This can be done at initiation
-            by setting the <property>deep</property> option or by using
-            <methodname>setOptions()</methodname>.
+            Sometimes validation for MX records returns <constant>FALSE</constant>, even if emails
+            are accepted. The reason behind this behaviour is, that servers can accept emails even
+            if they do not provide a MX record. In this case they can provide A, A6 or
+            <constant>AAAA</constant> records. To allow
+            <classname>Zend_Validate_EmailAddress</classname> to check also for these other records,
+            you need to set deep MX validation. This can be done at initiation by setting the
+            <property>deep</property> option or by using <methodname>setOptions()</methodname>.
         </para>
 
         <programlisting language="php"><![CDATA[

+ 2 - 2
documentation/manual/en/module_specs/Zend_Validate-Hostname.xml

@@ -111,7 +111,7 @@ $validator =
     );
 ]]></programlisting>
 
-        Alternatively you can either pass TRUE or FALSE to
+        Alternatively you can either pass <constant>TRUE</constant> or <constant>FALSE</constant> to
         <methodname>setValidateIdn()</methodname> to enable or disable IDN validation.
         If you are trying to match an IDN hostname which isn't currently supported it is likely
         it will fail validation if it has any international characters in it. Where a ccTLD file
@@ -144,7 +144,7 @@ $validator =
     );
 ]]></programlisting>
 
-        Alternatively you can either pass TRUE or FALSE to
+        Alternatively you can either pass <constant>TRUE</constant> or <constant>FALSE</constant> to
         <methodname>setValidateTld()</methodname> to enable or disable TLD validation.
     </para>
 

+ 4 - 4
documentation/manual/en/module_specs/Zend_Validate-Set.xml

@@ -182,8 +182,8 @@ if ($validator->isValid($iban)) {
     <sect2 id="zend.validate.set.less_than">
         <title>LessThan</title>
         <para>
-            Returns <constant>TRUE</constant> if and only if <varname>$value</varname> is less than the maximum
-            boundary.
+            Returns <constant>TRUE</constant> if and only if <varname>$value</varname> is less than
+            the maximum boundary.
         </para>
     </sect2>
 
@@ -193,8 +193,8 @@ if ($validator->isValid($iban)) {
     <sect2 id="zend.validate.set.regex">
         <title>Regex</title>
         <para>
-            Returns <constant>TRUE</constant> if and only if <varname>$value</varname> matches against a regular
-            expression pattern.
+            Returns <constant>TRUE</constant> if and only if <varname>$value</varname> matches
+            against a regular expression pattern.
         </para>
     </sect2>
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Validate.xml

@@ -307,8 +307,8 @@ if (Zend_Validate::is($value, 'OtherValidator', array('min' => 1, 'max' => 12))
                 <listitem>
                     <para>
                         <emphasis><methodname>Zend_Validate::hasDefaultNamespaces()</methodname></emphasis>:
-                        Returns true when one or more default namespaces are set, and false when no
-                        default namespaces are set.
+                        Returns <constant>TRUE</constant> when one or more default namespaces are
+                        set, and <constant>FALSE</constant> when no default namespaces are set.
                     </para>
                 </listitem>
             </itemizedlist>

+ 3 - 3
documentation/manual/en/module_specs/Zend_View-Helpers-HeadLink.xml

@@ -45,9 +45,9 @@
 
     <para>
         The <varname>$media</varname> value defaults to 'screen', but may be any valid
-        media value. <varname>$conditionalStylesheet</varname> is a string or boolean false,
-        and will be used at rendering time to determine if special comments should be
-        included to prevent loading of the stylesheet on certain platforms.
+        media value. <varname>$conditionalStylesheet</varname> is a string or boolean
+        <constant>FALSE</constant>, and will be used at rendering time to determine if special
+        comments should be included to prevent loading of the stylesheet on certain platforms.
         <varname>$extras</varname> is an array of any extra values that you want to be added
         to the tag.
     </para>

+ 6 - 6
documentation/manual/en/module_specs/Zend_View-Helpers.xml

@@ -87,10 +87,10 @@
                 <methodname>form($name, $attribs, $content)</methodname>: Generates an
                 <acronym>XHTML</acronym> form. All <varname>$attribs</varname> are escaped and
                 rendered as <acronym>XHTML</acronym> attributes of the form tag. If
-                <varname>$content</varname> is present and not a boolean false, then that content is
-                rendered within the start and close form tags; if <varname>$content</varname>
-                is a boolean false (the default), only the opening form tag is
-                generated.
+                <varname>$content</varname> is present and not a boolean <constant>FALSE</constant>,
+                then that content is rendered within the start and close form tags; if
+                <varname>$content</varname> is a boolean <constant>FALSE</constant> (the default),
+                only the opening form tag is generated.
             </para></listitem>
 
             <listitem><para>
@@ -295,8 +295,8 @@ echo $this->formCheckbox('foo',
                 unordered and ordered lists based on the <varname>$items</varname>
                 passed to it. If <varname>$items</varname> is a multidimensional
                 array, a nested list will be built. If the <varname>$escape</varname>
-                flag is true (default), individual items will be escaped using
-                the view objects registered escaping mechanisms; pass a false
+                flag is <constant>TRUE</constant> (default), individual items will be escaped using
+                the view objects registered escaping mechanisms; pass a <constant>FALSE</constant>
                 value if you want to allow markup in your lists.
             </para></listitem>
 

+ 7 - 5
documentation/manual/en/module_specs/Zend_XmlRpc_Server.xml

@@ -466,11 +466,13 @@ $server->setClass('Services_PricingService',
             <para>
                 <classname>Zend_XmlRpc_Server</classname> allows to restrict argument passing to
                 constructors only. This can be used for constructor dependency injection.
-                To limit injection to constructors, call <methodname>sendArgumentsToAllMethods</methodname>
-                and pass <code>false</code> as an argument. This disables the default behavior of all arguments
-                being injected into the remote method. In the example below the instance of
-                <classname>ProductRepository</classname> and <classname>PurchaseRepository</classname> is only
-                injected into the constructor of <classname>Services_PricingService2</classname>.
+                To limit injection to constructors, call
+                <methodname>sendArgumentsToAllMethods</methodname> and pass
+                <constant>FALSE</constant> as an argument. This disables the default behavior of all
+                arguments being injected into the remote method. In the example below the instance
+                of <classname>ProductRepository</classname> and
+                <classname>PurchaseRepository</classname> is only injected into the constructor of
+                <classname>Services_PricingService2</classname>.
             </para>
 
             <programlisting language="php"><![CDATA[

+ 4 - 2
documentation/manual/en/ref/migration-17.xml

@@ -458,7 +458,8 @@ $locale = Zend_Locale::getOrder(Zend_Locale::BROWSER);
                 <para>
                     Per default the old behaviour is still active, but throws a user warning.
                     When you have changed your code to the new behaviour you should also change
-                    the compatibility mode to false so that no warning is thrown anymore.
+                    the compatibility mode to <constant>FALSE</constant> so that no warning is
+                    thrown anymore.
                 </para>
             </note>
         </sect3>
@@ -494,7 +495,8 @@ $locale = Zend_Locale::getOrder(Zend_Locale::BROWSER);
 
             <para>
                 To get rid of these notices you can simply set the new option
-                'disableNotices' to true. It defaults to false.
+                'disableNotices' to <constant>TRUE</constant>. It defaults to
+                <constant>FALSE</constant>.
             </para>
 
             <example id="migration.17.zend.translate.example">

+ 3 - 3
documentation/manual/en/tutorials/autoloading-design.xml

@@ -53,9 +53,9 @@
             <listitem>
                 <para>
                     <emphasis>Provide namespace matching</emphasis>. If the class
-                    namespace prefix is not in a list of registered namespaces, return false
-                    immediately. This allows for more optimistic matching, as well as fallback to
-                    other autoloaders.
+                    namespace prefix is not in a list of registered namespaces, return
+                    <constant>FALSE</constant> immediately. This allows for more optimistic
+                    matching, as well as fallback to other autoloaders.
                 </para>
             </listitem>