Browse Source

[MANUAL] English:

- manual fixes

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

+ 16 - 9
documentation/manual/en/module_specs/Zend_Serializer-Introduction.xml

@@ -9,7 +9,7 @@
     </para>
 
     <example id="zend.serializer.introduction.example.dynamic">
-        <title>Using <classname>Zend_Serializer</classname> dynamic interface</title>
+        <title>Using Zend_Serializer dynamic interface</title>
 
         <para>
             To instantiate a serializer you should use the factory method with the name of the
@@ -34,8 +34,8 @@ try {
     </example>
 
     <para>
-        The method <methodname>serialize</methodname> generates a storable string. To regenerate
-        this serialized data you can simply call the method <methodname>unserialize</methodname>.
+        The method <methodname>serialize()</methodname> generates a storable string. To regenerate
+        this serialized data you can simply call the method <methodname>unserialize()</methodname>.
     </para>
 
     <para>
@@ -46,8 +46,8 @@ try {
 
     <para>
         To configure a given serializer adapter, you can optionally add an array or an instance of
-        <classname>Zend_Config</classname> to the <methodname>factory</methodname> or to the
-        <methodname>un-/serialize</methodname> methods:
+        <classname>Zend_Config</classname> to the <methodname>factory()</methodname> or to the
+        <methodname>serialize()</methodname> and <methodname>unserialize()</methodname> methods:
     </para>
 
     <programlisting language="php"><![CDATA[
@@ -56,18 +56,25 @@ $serializer = Zend_Serializer::factory('Wddx', array(
 ));
 
 try {
-    $serialized = $serializer->serialize($data, array('comment' => 'change comment'));
-    $unserialized = $serializer->unserialize($serialized, array(/* options for unserialize */));
+    $serialized = $serializer->serialize(
+        $data,
+        array('comment' => 'change comment')
+    );
+
+    $unserialized = $serializer->unserialize(
+        $serialized,
+        array(/* options for unserialize */)
+    );
 } catch (Zend_Serializer_Exception $e) {
     echo $e;
 }
 ]]></programlisting>
 
     <para>
-        Options passed to the <methodname>factory</methodname> are valid for the instantiated
+        Options passed to the <methodname>factory()</methodname> are valid for the instantiated
         object. You can change these options using the <methodname>setOption(s)</methodname> method.
         To change one or more options only for a single call, pass them as the second argument to
-        either the <methodname>serialize</methodname> or <methodname>unserialize</methodname>
+        either the <methodname>serialize()</methodname> or <methodname>unserialize()</methodname>
         method.
     </para>
 

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

@@ -9,8 +9,9 @@
         <classname>Zend_XmlRpc_Server</classname>, <classname>Zend_Rest_Server</classname>,
         <classname>Zend_Json_Server</classname> and <classname>Zend_Soap_Wsdl</classname>.
         <classname>Zend_Server_Interface</classname> provides an interface that mimics
-        <acronym>PHP</acronym> 5's <code>SoapServer</code> class; all server classes should
-        implement this interface in order to provide a standard server <acronym>API</acronym>.
+        <acronym>PHP</acronym> 5's <classname>SoapServer</classname> class; all server classes
+        should implement this interface in order to provide a standard server
+        <acronym>API</acronym>.
     </para>
 
     <para>

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

@@ -12,7 +12,7 @@
             based on <acronym>PHP</acronym> 5's Reflection <acronym>API</acronym>, augmenting it
             with methods for retrieving parameter and return value types and descriptions, a
             full list of function and method prototypes (i.e., all possible
-            valid calling combinations), and function/method descriptions.
+            valid calling combinations), and function or method descriptions.
         </para>
 
         <para>
@@ -60,7 +60,7 @@ $reflection->getNamespace();
         <para>
             <methodname>reflectFunction()</methodname> returns a
             <classname>Zend_Server_Reflection_Function</classname> object;
-            <code>reflectClass</code> returns a
+            <methodname>reflectClass()</methodname> returns a
             <classname>Zend_Server_Reflection_Class</classname> object. Please refer to
             the <acronym>API</acronym> documentation to see what methods are available to each.
         </para>