ソースを参照

[DOCUMENTATION] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15825 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 年 前
コミット
a8a161083e

+ 5 - 5
documentation/manual/en/module_specs/Zend_Captcha-Operation.xml

@@ -32,13 +32,13 @@ interface Zend_Captcha_Adapter extends Zend_Validate_Interface
 
     <para>
         The name setter and getter are used to specify and retrieve the
-        CAPTCHA identifier. <code>getDecorator()</code> can be used to specify a
+        CAPTCHA identifier. <methodname>getDecorator()</methodname> can be used to specify a
         <classname>Zend_Form</classname> decorator either by name or returning an actual decorator
-        object. The most interesting methods are <code>generate()</code>
-        and <code>render()</code>. <code>generate()</code> is used to create the
-        CAPTCHA token. This process typically will store the token in the
+        object. The most interesting methods are <methodname>generate()</methodname>
+        and <methodname>render()</methodname>. <methodname>generate()</methodname> is used to
+        create the CAPTCHA token. This process typically will store the token in the
         session so that you may compare against it in subsequent requests.
-        <code>render()</code> is used to render the information that represents
+        <methodname>render()</methodname> is used to render the information that represents
         the CAPTCHA- be it an image, a figlet, a logic problem, or some other CAPTCHA.
     </para>
 

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

@@ -292,7 +292,7 @@ $file = new Zend_CodeGenerator_Php_File(array(
 ]]></programlisting>
 
         <para>
-            Calling <code>generate()</code> will generate the code -- but not
+            Calling <methodname>generate()</methodname> will generate the code -- but not
             write it to a file. You will need to capture the contents and write
             them to a file yourself. As an example:
         </para>
@@ -365,7 +365,7 @@ define('APPLICATION_ENV', 'testing');
         <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
-            static method <code>fromReflectedFileName()</code> allows you to do
+            static method <methodname>fromReflectedFileName()</methodname> allows you to do
             this.
         </para>
 
@@ -381,7 +381,7 @@ file_put_contents($path, $generator->generate());
         <title>Seeding PHP class generation via reflection</title>
         <para>
             You may add code to an existing class. To do so, first use the
-            static <code>fromReflection()</code> method to map the class into a
+            static <methodname>fromReflection()</methodname> method to map the class into a
             generator object. From there, you may add additional properties or
             methods, and then regenerate the class.
         </para>

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

@@ -19,7 +19,7 @@
             In the most typical use case, you will simply instantiate a code
             generator class and either pass it the appropriate configuration or
             configure it after instantiation. To generate the code, you will
-            simply echo the object or call its <code>generate()</code> method.
+            simply echo the object or call its <methodname>generate()</methodname> method.
         </para>
 
         <programlisting language="php"><![CDATA[

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

@@ -30,28 +30,28 @@ abstract class Zend_CodeGenerator_Abstract
 ]]></programlisting>
 
             <para>
-                The constructor first calls <code>_init()</code> (which is left
+                The constructor first calls <methodname>_init()</methodname> (which is left
                 empty for the concrete extending class to implement), then
                 passes the <varname>$options</varname> parameter to
-                <code>setOptions()</code>, and finally calls
-                <code>_prepare()</code> (again, to be implemented by an
+                <methodname>setOptions()</methodname>, and finally calls
+                <methodname>_prepare()</methodname> (again, to be implemented by an
                 extending class).
             </para>
 
             <para>
-                Like most classes in Zend Framework, <code>setOptions()</code>
+                Like most classes in Zend Framework, <methodname>setOptions()</methodname>
                 compares an option key to existing setters in the class, and
                 passes the value on to that method if found.
             </para>
 
             <para>
-                <code>__toString()</code> is marked as final, and proxies to
-                <code>generate()</code>.
+                <methodname>__toString()</methodname> is marked as final, and proxies to
+                <methodname>generate()</methodname>.
             </para>
 
             <para>
-                <code>setSourceContent()</code> and
-                <code>getSourceContent()</code> are intended to either set the
+                <methodname>setSourceContent()</methodname> and
+                <methodname>getSourceContent()</methodname> are intended to either set the
                 default content for the code being generated, or to replace said
                 content once all generation tasks are complete.
             </para>
@@ -118,7 +118,7 @@ abstract class Zend_CodeGenerator_Php_Member_Abstract
                 <classname>Zend_CodeGenerator_Php_Body</classname> is intended for
                 generating arbitrary procedural code to include within a file.
                 As such, you simply set content for the object, and it will
-                return that content when you invoke <code>generate()</code>.
+                return that content when you invoke <methodname>generate()</methodname>.
             </para>
 
             <para>
@@ -183,19 +183,19 @@ class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
 ]]></programlisting>
 
             <para>
-                The <code>setProperty()</code> method accepts an array of
+                The <methodname>setProperty()</methodname> method accepts an array of
                 information that may be used to generate a
                 <classname>Zend_CodeGenerator_Php_Property</classname> instance -- or
                 simply an instance of
                 <classname>Zend_CodeGenerator_Php_Property</classname>.
-                Likewise, <code>setMethod()</code> accepts either an array of
+                Likewise, <methodname>setMethod()</methodname> accepts either an array of
                 information for generating a
                 <classname>Zend_CodeGenerator_Php_Method</classname> instance or a
                 concrete instance of that class.
             </para>
 
             <para>
-                Note that <code>setDocBlock()</code> expects an instance of
+                Note that <methodname>setDocBlock()</methodname> expects an instance of
                 <classname>Zend_CodeGenerator_Php_DocBlock</classname>.
             </para>
         </sect3>
@@ -211,8 +211,8 @@ class Zend_CodeGenerator_Php_Class extends Zend_CodeGenerator_Php_Abstract
             </para>
 
             <para>
-                Annotation tags may be set using the <code>setTag()</code> and
-                <code>setTags()</code> methods; these each take either an array
+                Annotation tags may be set using the <methodname>setTag()</methodname> and
+                <methodname>setTags()</methodname> methods; these each take either an array
                 describing the tag that may be passed to the
                 <classname>Zend_CodeGenerator_Php_Docblock_Tag</classname> constructor, or
                 an instance of that class.
@@ -419,8 +419,8 @@ class Zend_CodeGenerator_Php_Member_Container extends ArrayObject
             </para>
 
             <para>
-                Parameters may be set using <code>setParameter()</code> or
-                <code>setParameters()</code>. In each case, a parameter should
+                Parameters may be set using <methodname>setParameter()</methodname> or
+                <methodname>setParameters()</methodname>. In each case, a parameter should
                 either be an array of information to pass to the
                 <classname>Zend_CodeGenerator_Php_Parameter</classname> constructor or an
                 instance of that class.