Просмотр исходного кода

[DOCUMENTATION] English:
- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16650 44c647ce-9c0f-0410-b52a-842ac1e357ba

mikaelkael 16 лет назад
Родитель
Сommit
7646133b0c

+ 7 - 6
documentation/manual/en/module_specs/Zend_Amf-Server.xml

@@ -14,7 +14,7 @@
         <title>Basic AMF Server</title>
 
         <para>
-            Let's assume that you have created a class <emphasis>Foo</emphasis> with a
+            Let's assume that you have created a class <classname>Foo</classname> with a
             variety of public methods. You may create an <acronym>AMF</acronym> server using the
             following code:
         </para>
@@ -297,7 +297,7 @@ $server->setProduction(false);
 ]]></programlisting>
 
         <para>
-            To re-enable it, pass a true boolean value instead:
+            To re-enable it, pass a <constant>TRUE</constant> boolean value instead:
         </para>
 
         <programlisting language="php"><![CDATA[
@@ -318,10 +318,10 @@ $server->setProduction(true);
 
         <para>
             One area to be especially careful with is <acronym>PHP</acronym> errors themselves.
-            When the <emphasis>display_errors</emphasis> <acronym>INI</acronym> directive is
+            When the <property>display_errors</property> <acronym>INI</acronym> directive is
             enabled, any <acronym>PHP</acronym> errors for the current error reporting level are
             rendered directly in the output -- potentially disrupting the <acronym>AMF</acronym>
-            response payload. We suggest turning off the <emphasis>display_errors</emphasis>
+            response payload. We suggest turning off the <property>display_errors</property>
             directive in production to prevent such problems
         </para>
     </sect2>
@@ -716,7 +716,7 @@ private function onFault(fault:Object):void {
 
         <para>
             The identity returned by the adapter should be an object containing property
-            <emphasis>role</emphasis> for the <acronym>ACL</acronym> access control to work.
+            <property>role</property> for the <acronym>ACL</acronym> access control to work.
         </para>
 
         <para>
@@ -753,7 +753,8 @@ $server->setAcl($acl);
 
         <para>
             After <acronym>ACL</acronym> have been set up, the server will check if access is
-            allowed with role set by the authentication, resource being the class name (or null for
+            allowed with role set by the authentication, resource being the class name (or
+            <constant>NULL</constant> for
             function calls) and privilege being the function name. If no authentication was
             provided, then if the <emphasis>anonymous</emphasis> role was defined, it will be used,
             otherwise the access will be denied.

+ 3 - 3
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Db.xml

@@ -16,16 +16,16 @@
 
     <itemizedlist>
         <listitem><para>
-            <emphasis>adapter</emphasis>: <classname>Zend_Db</classname> adapter type.
+            <property>adapter</property>: <classname>Zend_Db</classname> adapter type.
         </para></listitem>
 
         <listitem><para>
-            <emphasis>params</emphasis>: associative array of configuration
+            <property>params</property>: associative array of configuration
             parameters to use when retrieving the adapter instance.
         </para></listitem>
 
         <listitem><para>
-            <emphasis>isDefaultTableAdapter</emphasis>: whether or not to establish this
+            <property>isDefaultTableAdapter</property>: whether or not to establish this
             adapter as the default table adapter.
         </para></listitem>
     </itemizedlist>

+ 9 - 9
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Frontcontroller.xml

@@ -25,50 +25,50 @@
 
     <itemizedlist>
         <listitem><para>
-            <emphasis>controllerDirectory</emphasis>: either a string value
+            <property>controllerDirectory</property>: either a string value
             specifying a single controller directory, or an array of
             module to controller directory pairs.
         </para></listitem>
 
         <listitem><para>
-            <emphasis>moduleControllerDirectoryName</emphasis>: a string value
+            <property>moduleControllerDirectoryName</property>: a string value
             indicating the subdirectory under a module that contains
             controllers.
         </para></listitem>
 
         <listitem><para>
-            <emphasis>moduleDirectory</emphasis>: directory under which modules may be
+            <property>moduleDirectory</property>: directory under which modules may be
             found.
         </para></listitem>
 
         <listitem><para>
-            <emphasis>defaultControllerName</emphasis>: base name of the default
+            <property>defaultControllerName</property>: base name of the default
             controller (normally "index").
         </para></listitem>
 
         <listitem><para>
-            <emphasis>defaultAction</emphasis>: base name of the default action
+            <property>defaultAction</property>: base name of the default action
             (normally "index").
         </para></listitem>
 
         <listitem><para>
-            <emphasis>defaultModule</emphasis>: base name of the default module
+            <property>defaultModule</property>: base name of the default module
             (normally "default").
         </para></listitem>
 
         <listitem><para>
-            <emphasis>baseUrl</emphasis>: explicit base <acronym>URL</acronym> to the application
+            <property>baseUrl</property>: explicit base <acronym>URL</acronym> to the application
             (normally auto-detected).
         </para></listitem>
 
         <listitem><para>
-            <emphasis>plugins</emphasis>: array of front controller plugin class names.
+            <property>plugins</property>: array of front controller plugin class names.
             The resource will instantiate each class (with no constructor
             arguments) and then register the instance with the front controller.
         </para></listitem>
 
         <listitem><para>
-            <emphasis>params</emphasis>: array of key to value pairs to register with the
+            <property>params</property>: array of key to value pairs to register with the
             front controller.
         </para></listitem>
     </itemizedlist>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Session.xml

@@ -10,7 +10,7 @@
     </para>
 
     <para>
-        To set a session save handler, simply pass the <emphasis>saveHandler</emphasis>
+        To set a session save handler, simply pass the <property>saveHandler</property>
         (case insensitive) option key to the resource. The value of this option
         may be one of the following:
     </para>