Browse Source

[DOCUMENTATION] English:

-  manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15976 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
6f9104520b

+ 3 - 3
documentation/manual/en/module_specs/Zend_CodeGenerator-Examples.xml

@@ -263,7 +263,7 @@ class Foo
 
 
         <para>
         <para>
             <classname>Zend_CodeGenerator_Php_File</classname> can be used to generate the
             <classname>Zend_CodeGenerator_Php_File</classname> can be used to generate the
-            contents of a PHP file. You can include classes as well as arbitrary
+            contents of a <acronym>PHP</acronym> file. You can include classes as well as arbitrary
             content body. When attaching classes, you should attach either
             content body. When attaching classes, you should attach either
             concrete <classname>Zend_CodeGenerator_Php_Class</classname> instances or an
             concrete <classname>Zend_CodeGenerator_Php_Class</classname> instances or an
             array defining the class.
             array defining the class.
@@ -363,8 +363,8 @@ define('APPLICATION_ENV', 'testing');
         <title>Seeding PHP file code generation via reflection</title>
         <title>Seeding PHP file code generation via reflection</title>
 
 
         <para>
         <para>
-            You can add PHP code to an existing PHP file using the code
-            generator. To do so, you need to first do reflection on it. The
+            You can add <acronym>PHP</acronym> code to an existing <acronym>PHP</acronym> file
+            using the code generator. To do so, you need to first do reflection on it. The
             static method <methodname>fromReflectedFileName()</methodname> allows you to do
             static method <methodname>fromReflectedFileName()</methodname> allows you to do
             this.
             this.
         </para>
         </para>

+ 1 - 1
documentation/manual/en/module_specs/Zend_CodeGenerator-Introduction.xml

@@ -7,7 +7,7 @@
         <classname>Zend_CodeGenerator</classname> provides facilities to generate
         <classname>Zend_CodeGenerator</classname> provides facilities to generate
         arbitrary code using an object oriented interface, both to create new
         arbitrary code using an object oriented interface, both to create new
         code as well as to update existing code. While the current
         code as well as to update existing code. While the current
-        implementation is limited to generating PHP code, you can easily extend
+        implementation is limited to generating <acronym>PHP</acronym> code, you can easily extend
         the base class in order to provide code generation for other tasks:
         the base class in order to provide code generation for other tasks:
         JavaScript, configuration files, apache vhosts, etc.
         JavaScript, configuration files, apache vhosts, etc.
     </para>
     </para>

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

@@ -11,7 +11,7 @@
 
 
             <para>
             <para>
                 The base class from which all CodeGenerator classes inherit
                 The base class from which all CodeGenerator classes inherit
-                provides the minimal functionality necessary. It's API is as
+                provides the minimal functionality necessary. It's <acronym>API</acronym> is as
                 follows:
                 follows:
             </para>
             </para>
 
 
@@ -65,7 +65,7 @@ abstract class Zend_CodeGenerator_Abstract
                 <classname>Zend_CodeGenerator_Abstract</classname>, and adds some
                 <classname>Zend_CodeGenerator_Abstract</classname>, and adds some
                 properties for tracking whether content has changed as well as
                 properties for tracking whether content has changed as well as
                 the amount of indentation that should appear before generated
                 the amount of indentation that should appear before generated
-                content. Its API is as follows:
+                content. Its <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -88,7 +88,7 @@ abstract class Zend_CodeGenerator_Php_Abstract
                 class for generating class members -- properties and methods --
                 class for generating class members -- properties and methods --
                 and provides accessors and mutators for establishing visibility;
                 and provides accessors and mutators for establishing visibility;
                 whether or not the member is abstract, static, or final; and the
                 whether or not the member is abstract, static, or final; and the
-                name of the member. Its API is as follows:
+                name of the member. Its <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -122,7 +122,7 @@ abstract class Zend_CodeGenerator_Php_Member_Abstract
             </para>
             </para>
 
 
             <para>
             <para>
-                The API of the class is as follows:
+                The <acronym>API</acronym> of the class is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -140,16 +140,16 @@ class Zend_CodeGenerator_Php_Body extends Zend_CodeGenerator_Php_Abstract
 
 
             <para>
             <para>
                 <classname>Zend_CodeGenerator_Php_Class</classname> is intended for
                 <classname>Zend_CodeGenerator_Php_Class</classname> is intended for
-                generating PHP classes. The basic functionality just generates
-                the PHP class itself, as well as optionally the related PHP
-                DocBlock. Classes may implement or inherit from other classes,
-                and may be marked as abstract. Utilizing other code generator
+                generating <acronym>PHP</acronym> classes. The basic functionality just generates
+                the <acronym>PHP</acronym> class itself, as well as optionally the related
+                <acronym>PHP</acronym> DocBlock. Classes may implement or inherit from other
+                classes, and may be marked as abstract. Utilizing other code generator
                 classes, you can also attach class constants, properties, and
                 classes, you can also attach class constants, properties, and
                 methods.
                 methods.
             </para>
             </para>
 
 
             <para>
             <para>
-                The API is as follows:
+                The <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -205,7 +205,7 @@ class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
 
 
             <para>
             <para>
                 <classname>Zend_CodeGenerator_Php_Docblock</classname> can be used to
                 <classname>Zend_CodeGenerator_Php_Docblock</classname> can be used to
-                generate arbitrary PHP docblocks, including all the standard
+                generate arbitrary <acronym>PHP</acronym> docblocks, including all the standard
                 docblock features: short and long descriptions and annotation
                 docblock features: short and long descriptions and annotation
                 tags.
                 tags.
             </para>
             </para>
@@ -219,7 +219,7 @@ class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
             </para>
             </para>
 
 
             <para>
             <para>
-                The API is as follows:
+                The <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -245,14 +245,14 @@ class Zend_CodeGenerator_Php_Docblock extends Zend_CodeGenerator_Php_Abstract
 
 
             <para>
             <para>
                 <classname>Zend_CodeGenerator_Php_Docblock_Tag</classname> is intended for
                 <classname>Zend_CodeGenerator_Php_Docblock_Tag</classname> is intended for
-                creating arbitrary annotation tags for inclusion in PHP
+                creating arbitrary annotation tags for inclusion in <acronym>PHP</acronym>
                 docblocks. Tags are expected to contain a name (the portion
                 docblocks. Tags are expected to contain a name (the portion
                 immediately following the '@' symbol) and a description
                 immediately following the '@' symbol) and a description
                 (everything following the tag name).
                 (everything following the tag name).
             </para>
             </para>
 
 
             <para>
             <para>
-                The class API is as follows:
+                The class <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -285,7 +285,7 @@ class Zend_CodeGenerator_Php_Docblock_Tag
             </para>
             </para>
 
 
             <para>
             <para>
-                The class API is as follows:
+                The class <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -316,7 +316,7 @@ class Zend_CodeGenerator_Php_Docblock_Tag_Param
             </para>
             </para>
 
 
             <para>
             <para>
-                The class API is as follows:
+                The class <acronym>API</acronym> is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -338,8 +338,8 @@ class Zend_CodeGenerator_Php_Docblock_Tag_Param
 
 
             <para>
             <para>
                 <classname>Zend_CodeGenerator_Php_File</classname> is used to generate
                 <classname>Zend_CodeGenerator_Php_File</classname> is used to generate
-                the full contents of a file that will contain PHP code. The file
-                may contain classes or arbitrary PHP code, as well as a
+                the full contents of a file that will contain <acronym>PHP</acronym> code. The file
+                may contain classes or arbitrary <acronym>PHP</acronym> code, as well as a
                 file-level docblock if desired.
                 file-level docblock if desired.
             </para>
             </para>
 
 
@@ -354,7 +354,7 @@ class Zend_CodeGenerator_Php_Docblock_Tag_Param
             </para>
             </para>
 
 
             <para>
             <para>
-                The API of the class is as follows:
+                The <acronym>API</acronym> of the class is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -395,7 +395,7 @@ class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
             </para>
             </para>
 
 
             <para>
             <para>
-                The API of the class is as follows:
+                The <acronym>API</acronym> of the class is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -427,7 +427,7 @@ class Zend_CodeGenerator_Php_Member_Container extends ArrayObject
             </para>
             </para>
 
 
             <para>
             <para>
-                The API of the class is as follows:
+                The <acronym>API</acronym> of the class is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -462,7 +462,7 @@ class Zend_CodeGenerator_Php_Method
             </para>
             </para>
 
 
             <para>
             <para>
-                The API of the class is as follows:
+                The <acronym>API</acronym> of the class is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -497,7 +497,7 @@ class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
             </para>
             </para>
 
 
             <para>
             <para>
-                The API of the class is as follows:
+                The <acronym>API</acronym> of the class is as follows:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[