Prechádzať zdrojové kódy

[DOCUMENTATION] English:
- manual fixes

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

mikaelkael 16 rokov pred
rodič
commit
7646133b0c

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

@@ -14,7 +14,7 @@
         <title>Basic AMF Server</title>
         <title>Basic AMF Server</title>
 
 
         <para>
         <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
             variety of public methods. You may create an <acronym>AMF</acronym> server using the
             following code:
             following code:
         </para>
         </para>
@@ -297,7 +297,7 @@ $server->setProduction(false);
 ]]></programlisting>
 ]]></programlisting>
 
 
         <para>
         <para>
-            To re-enable it, pass a true boolean value instead:
+            To re-enable it, pass a <constant>TRUE</constant> boolean value instead:
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
@@ -318,10 +318,10 @@ $server->setProduction(true);
 
 
         <para>
         <para>
             One area to be especially careful with is <acronym>PHP</acronym> errors themselves.
             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
             enabled, any <acronym>PHP</acronym> errors for the current error reporting level are
             rendered directly in the output -- potentially disrupting the <acronym>AMF</acronym>
             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
             directive in production to prevent such problems
         </para>
         </para>
     </sect2>
     </sect2>
@@ -716,7 +716,7 @@ private function onFault(fault:Object):void {
 
 
         <para>
         <para>
             The identity returned by the adapter should be an object containing property
             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>
 
 
         <para>
         <para>
@@ -753,7 +753,8 @@ $server->setAcl($acl);
 
 
         <para>
         <para>
             After <acronym>ACL</acronym> have been set up, the server will check if access is
             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
             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,
             provided, then if the <emphasis>anonymous</emphasis> role was defined, it will be used,
             otherwise the access will be denied.
             otherwise the access will be denied.

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

@@ -16,16 +16,16 @@
 
 
     <itemizedlist>
     <itemizedlist>
         <listitem><para>
         <listitem><para>
-            <emphasis>adapter</emphasis>: <classname>Zend_Db</classname> adapter type.
+            <property>adapter</property>: <classname>Zend_Db</classname> adapter type.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <emphasis>params</emphasis>: associative array of configuration
+            <property>params</property>: associative array of configuration
             parameters to use when retrieving the adapter instance.
             parameters to use when retrieving the adapter instance.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <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.
             adapter as the default table adapter.
         </para></listitem>
         </para></listitem>
     </itemizedlist>
     </itemizedlist>

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

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

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

@@ -10,7 +10,7 @@
     </para>
     </para>
 
 
     <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
         (case insensitive) option key to the resource. The value of this option
         may be one of the following:
         may be one of the following:
     </para>
     </para>