Jelajahi Sumber

[MANUAL] English:

- some manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22432 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 15 tahun lalu
induk
melakukan
15bd23668d

+ 8 - 8
documentation/manual/en/module_specs/Zend_Gdata_Photos.xml

@@ -276,7 +276,7 @@ $service = new Zend_Gdata_Photos();
             </listitem>
         </itemizedlist>
 
-        <para>A new <code>UserQuery</code> can be constructed as followed:</para>
+        <para>A new <classname>UserQuery</classname> can be constructed as followed:</para>
 
         <programlisting language="php"><![CDATA[
 $service = Zend_Gdata_Photos::AUTH_SERVICE_NAME;
@@ -392,12 +392,12 @@ $query->setUser("sample.user");
             <para>
                 The service supports retrieving a user feed and list of the user's content. If the
                 requested user is also the authenticated user, entries marked as
-                "<code>hidden</code>" will also be returned.
+                "<emphasis>hidden</emphasis>" will also be returned.
             </para>
 
             <para>
                 The user feed can be accessed by passing the username to the
-                <code>getUserFeed</code> method:
+                <methodname>getUserFeed()</methodname> method:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -459,7 +459,7 @@ try {
 
             <para>
                 The album feed is accessed by constructing a query object and passing it to
-                <code>getAlbumFeed</code>:
+                <methodname>getAlbumFeed()</methodname>:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -480,8 +480,8 @@ try {
 
             <para>
                 Alternatively, the query object can be given an album name with
-                <code>setAlbumName</code>. Setting the album name is mutually exclusive with setting
-                the album id, and setting one will unset the other.
+                <methodname>setAlbumName()</methodname>. Setting the album name is mutually
+                exclusive with setting the album id, and setting one will unset the other.
             </para>
 
             <para>
@@ -516,7 +516,7 @@ try {
 
             <para>
                 The photo feed is accessed by constructing a query object and passing it to
-                <code>getPhotoFeed</code>:
+                <methodname>getPhotoFeed()</methodname>:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -858,7 +858,7 @@ $service->deleteTagEntry($tagEntry, true);
 
             <para>
                 An example of how to handle versioning during a deletion is shown by
-                <code>deleteAlbumEntry</code>:
+                <methodname>deleteAlbumEntry()</methodname>:
             </para>
 
             <programlisting language="php"><![CDATA[

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

@@ -31,7 +31,7 @@
 
         <para>
             You can get a list of spreadsheets for a particular user by using
-            the <code>getSpreadsheetFeed</code> method of the Spreadsheets
+            the <methodname>getSpreadsheetFeed()</methodname> method of the Spreadsheets
             service. The service will return a
             <classname>Zend_Gdata_Spreadsheets_SpreadsheetFeed</classname> object
             containing a list of spreadsheets associated with the authenticated
@@ -73,7 +73,7 @@ $feed = $spreadsheetService->getWorksheetFeed($query);
             object feed represents the response from the server. Among other
             things, this feed contains a list of
             <classname>Zend_Gdata_Spreadsheets_WorksheetEntry </classname>
-            objects (<code>$feed->entries</code>), each of which represents a
+            objects (<command>$feed->entries</command>), each of which represents a
             single worksheet.
         </para>
     </sect2>
@@ -128,7 +128,7 @@ $feed = $spreadsheetService->getWorksheetFeed($query);
 
             <para>
                 To retrieve a worksheet's list feed, use the
-                <code>getListFeed</code> method of the Spreadsheets service.
+                <methodname>getListFeed()</methodname> method of the Spreadsheets service.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -143,13 +143,13 @@ $listFeed = $spreadsheetService->getListFeed($query);
                 object <varname>$listfeed</varname> represents a response from the
                 server. Among other things, this feed contains an array of
                 <classname>Zend_Gdata_Spreadsheets_ListEntry</classname> objects
-                (<code>$listFeed->entries</code>), each of which represents
+                (<command>$listFeed->entries</command>), each of which represents
                 a single row in a worksheet.
             </para>
 
             <para>
                 Each <classname>Zend_Gdata_Spreadsheets_ListEntry</classname> contains an
-                array, <code>custom</code>, which contains the data for that
+                array, <property>custom</property>, which contains the data for that
                 row. You can extract and display this array:
             </para>
 
@@ -161,7 +161,7 @@ foreach($rowData as $customEntry) {
 ]]></programlisting>
 
             <para>
-                An alternate version of this array, <code>customByName</code>,
+                An alternate version of this array, <property>customByName</property>,
                 allows direct access to an entry's cells by name. This is
                 convenient when trying to access a specific header:
             </para>
@@ -194,9 +194,9 @@ $listFeed = $spreadsheetService->getListFeed($query);
             <para>
                 Note that if you want to order (or reverse sort) by a
                 particular column, rather than by position in the worksheet,
-                you can set the <code>orderby</code> value of the
+                you can set the <property>orderby</property> value of the
                 <classname>Zend_Gdata_Spreadsheets_ListQuery</classname> object to
-                <code>column:&lt;the header of that column&gt;</code>.
+                <emphasis>column:&lt;the header of that column&gt;</emphasis>.
             </para>
         </sect3>
 
@@ -205,12 +205,12 @@ $listFeed = $spreadsheetService->getListFeed($query);
 
             <para>
                 You can set a <classname>Zend_Gdata_Spreadsheets_ListQuery</classname>'s
-                <code>sq</code> value to produce a feed with entries that meet
+                <property>sq</property> value to produce a feed with entries that meet
                 the specified criteria. For example, suppose you have a worksheet
                 containing personnel data, in which each row represents
                 information about a single person. You wish to retrieve all rows
                 in which the person's name is "John" and the person's age is over
-                25. To do so, you would set <code>sq</code> as follows:
+                25. To do so, you would set <property>sq</property> as follows:
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -227,7 +227,7 @@ $listFeed = $spreadsheetService->getListFeed($query);
 
             <para>
                 Rows can be added to a spreadsheet by using the
-                <code>insertRow</code> method of the Spreadsheet service.
+                <methodname>insertRow()</methodname> method of the Spreadsheet service.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -256,7 +256,7 @@ $insertedListEntry = $spreadsheetService->insertRow($rowData,
             <para>
                 Once a <classname>Zend_Gdata_Spreadsheets_ListEntry</classname> object
                 is fetched, its rows can be updated by using the
-                <code>updateRow</code> method of the Spreadsheet service.
+                <methodname>updateRow()</methodname> method of the Spreadsheet service.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -278,7 +278,7 @@ $updatedListEntry = $spreadsheetService->updateRow($oldListEntry,
             <title>Delete a Row</title>
 
             <para>
-                To delete a row, simply invoke <code>deleteRow</code> on the
+                To delete a row, simply invoke <methodname>deleteRow()</methodname> on the
                 <classname>Zend_Gdata_Spreadsheets</classname> object with the existing
                 entry to be deleted:
             </para>
@@ -288,7 +288,7 @@ $spreadsheetService->deleteRow($listEntry);
 ]]></programlisting>
 
             <para>
-                Alternatively, you can call the <code>delete</code> method of
+                Alternatively, you can call the <methodname>delete()</methodname> method of
                 the entry itself:
             </para>
 
@@ -315,7 +315,7 @@ $listEntry->delete();
 
             <para>
                 To retrieve a worksheet's cell feed, use the
-                <code>getCellFeed</code> method of the Spreadsheets service.
+                <methodname>getCellFeed()</methodname> method of the Spreadsheets service.
             </para>
 
             <programlisting language="php"><![CDATA[
@@ -330,7 +330,7 @@ $cellFeed = $spreadsheetService->getCellFeed($query);
                 object <varname>$cellFeed</varname> represents a response from the
                 server. Among other things, this feed contains an array of
                 <classname>Zend_Gdata_Spreadsheets_CellEntry</classname> objects
-                (<code>$cellFeed>entries</code>), each of which represents
+                (<command>$cellFeed>entries</command>), each of which represents
                 a single cell in a worksheet. You can display this information:
             </para>
 
@@ -371,7 +371,7 @@ $feed = $spreadsheetService->getCellsFeed($query);
 
             <para>
                 To modify the contents of a cell, call
-                <code>updateCell</code> with the row, column,
+                <methodname>updateCell()</methodname> with the row, column,
                 and new value of the cell.
             </para>
 
@@ -386,7 +386,7 @@ $updatedCell = $spreadsheetService->updateCell($row,
             <para>
                 The new data is placed in the specified cell in the worksheet.
                 If the specified cell contains data already, it will be
-                overwritten. Note: Use <code>updateCell</code> to change
+                overwritten. Note: Use <methodname>updateCell()</methodname> to change
                 the data in a cell, even if the cell is empty.
             </para>
         </sect3>

+ 6 - 5
documentation/manual/en/module_specs/Zend_Http_Client-Adapters.xml

@@ -53,8 +53,8 @@
             using the 'adapter' configuration option. When instantiating the
             client object, you can set the 'adapter' configuration option to
             a string containing the adapter's name (eg. 'Zend_Http_Client_Adapter_Socket')
-            or to a variable holding an adapter object (eg. <code>
-            new Zend_Http_Client_Adapter_Test</code>). You can also set the
+            or to a variable holding an adapter object (eg.
+            <command>new Zend_Http_Client_Adapter_Test</command>). You can also set the
             adapter later, using the <classname>Zend_Http_Client->setConfig()</classname> method.
         </para>
     </sect2>
@@ -177,8 +177,9 @@
                 <title>HTTPS SSL Stream Parameters</title>
 
                 <para>
-                    <code>ssltransport, sslcert</code> and <code>sslpassphrase</code>
-                    are only relevant when connecting using <acronym>HTTPS</acronym>.
+                    <property>ssltransport</property>, <property>sslcert</property> and
+                    <property>sslpassphrase</property> are only relevant when connecting using
+                    <acronym>HTTPS</acronym>.
                 </para>
 
                 <para>
@@ -479,7 +480,7 @@ $client = new Zend_Http_Client($uri, $config);
             specifying the 'curloptions' key in the constructor of the adapter or by calling
             <methodname>setCurlOption($name, $value)</methodname>. The <varname>$name</varname> key
             corresponds to the CURL_* constants of the cURL extension. You can
-            get access to the Curl handle by calling <code>$adapter->getHandle();</code>
+            get access to the Curl handle by calling <command>$adapter->getHandle();</command>
         </para>
 
         <example id="zend.http.client.adapters.curl.example-2">

+ 2 - 2
documentation/manual/en/module_specs/Zend_Json-Basics.xml

@@ -38,8 +38,8 @@ if($debug) {
 
         <para>
             Second optional argument of <methodname>Zend_Json::prettyPrint()</methodname> is an
-            option array. Option <code>indent</code> allows to set indentation string - by default
-            it's a single tab character.
+            option array. Option <property>indent</property> allows to set indentation string - by
+            default it's a single tab character.
         </para>
     </sect2>
 </sect1>

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

@@ -114,7 +114,7 @@ $layoutVars   = $placeholders->placeholder('Zend_Layout')->getArrayCopy();
             last action prior to exiting the dispatch loop. In most cases, the
             default plugin will be suitable, but should you desire to write
             your own, you can specify the name of the plugin class to load by
-            passing the <code>pluginClass</code> option to the
+            passing the <property>pluginClass</property> option to the
             <methodname>startMvc()</methodname> method.
         </para>
 
@@ -147,7 +147,7 @@ $layoutVars   = $placeholders->placeholder('Zend_Layout')->getArrayCopy();
             Should you feel the need to write custom functionality, simply write
             an action helper class extending
             <classname>Zend_Controller_Action_Helper_Abstract</classname> and pass the
-            class name as the <code>helperClass</code> option to the
+            class name as the <property>helperClass</property> option to the
             <methodname>startMvc()</methodname> method. Details of the implementation are
             up to you.
         </para>

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

@@ -107,7 +107,7 @@
             and registers an action helper to allow access to the layout object
             from your action controllers. Additionally, you may at any time grab
             the layout instance from within a view script using the
-            <code>layout</code> view helper.
+            <classname>Layout</classname> view helper.
         </para>
 
         <para>
@@ -150,7 +150,7 @@ class FooController extends Zend_Controller_Action
 
         <para>
             In your view scripts, you can then access the layout object via the
-            <code>layout</code> view helper. This view helper is slightly
+            <classname>Layout</classname> view helper. This view helper is slightly
             different than others in that it takes no arguments, and returns an
             object instead of a string value. This allows you to immediately
             call methods on the layout object:

+ 1 - 1
documentation/manual/en/module_specs/Zend_Log-Filters.xml

@@ -42,7 +42,7 @@ $logger->emerg('Emergency message');
 
         <para>
             To filter only on a specific Writer instance, use the
-            <code>addFilter</code> method of that Writer:
+            <methodname>addFilter()</methodname> method of that Writer:
         </para>
 
         <programlisting language="php"><![CDATA[