فهرست منبع

[MANUAL] English:

- erased endline spaces

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20001 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 سال پیش
والد
کامیت
698f4ffb35
1فایلهای تغییر یافته به همراه22 افزوده شده و 22 حذف شده
  1. 22 22
      documentation/manual/en/module_specs/Zend_Controller-Router-Route-Rest.xml

+ 22 - 22
documentation/manual/en/module_specs/Zend_Controller-Router-Route-Rest.xml

@@ -71,7 +71,7 @@
     </table>
 
     <sect4 id="zend.rest.route_usage">
-    	<title>Zend_Rest_Route Usage</title>
+        <title>Zend_Rest_Route Usage</title>
 
     <para>
         To enable <classname>Zend_Rest_Route</classname> for an entire
@@ -116,37 +116,37 @@ $restRoute = new Zend_Rest_Route($front, array(), array(
 $front->getRouter()->addRoute('rest', $restRoute);
 ]]></programlisting>
 
-	</sect4>
-	
+    </sect4>
+
     <sect4 id="zend.rest.route_config">
-    	<title>Zend_Rest_Route with Zend_Config_Ini</title>
-
-	<para>
-		To use Zend_Rest_Route from an INI config file, use a route type
-		parameter and set the config options:
-	</para>
-	
-	<programlisting language="ini"><![CDATA[routes.rest.type = Zend_Rest_Route
+        <title>Zend_Rest_Route with Zend_Config_Ini</title>
+
+    <para>
+        To use Zend_Rest_Route from an INI config file, use a route type
+        parameter and set the config options:
+    </para>
+
+    <programlisting language="ini"><![CDATA[routes.rest.type = Zend_Rest_Route
 routes.rest.defaults.controller = object
 routes.rest.mod = project,user
 ]]></programlisting>
 
-	<para>The 'type' option designates the RESTful routing config type. 
-	The 'defaults' option is used to specify custom default 
-	module, controller, and/or actions for the route. All other options
-	in the config group are treated as RESTful module names, and their
-	values are RESTful controller names. The example config defines 
-	Mod_ProjectController and Mod_UserController as RESTful controllers.</para>
+    <para>The 'type' option designates the RESTful routing config type.
+    The 'defaults' option is used to specify custom default
+    module, controller, and/or actions for the route. All other options
+    in the config group are treated as RESTful module names, and their
+    values are RESTful controller names. The example config defines
+    Mod_ProjectController and Mod_UserController as RESTful controllers.</para>
+
+    <para>Then use the addConfig() method of the Rewrite router object:</para>
 
-	<para>Then use the addConfig() method of the Rewrite router object:</para>
-	
-	<programlisting language="php"><![CDATA[$config = new Zend_Config_Ini('path/to/routes.ini');
+    <programlisting language="php"><![CDATA[$config = new Zend_Config_Ini('path/to/routes.ini');
 $router = new Zend_Controller_Router_Rewrite();
 $router->addConfig($config, 'routes');
 ]]></programlisting>
 
-	</sect4>
-	
+    </sect4>
+
     <sect4 id="zend.rest.controller">
         <title>Zend_Rest_Controller</title>