|
|
@@ -1,6 +1,6 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<!-- Reviewed: no -->
|
|
|
-<!-- EN-Revision: 24249 -->
|
|
|
+<!-- EN-Revision: 24798 -->
|
|
|
<sect2 id="zend.application.available-resources.frontcontroller">
|
|
|
<title>Zend_Application_Resource_Frontcontroller(日本語)</title>
|
|
|
|
|
|
@@ -101,6 +101,28 @@
|
|
|
値は、ブーリアンでなければなりません。デフォルトで、これは無効です。
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
+ <!-- TODO : to be translated -->
|
|
|
+ <listitem>
|
|
|
+ <para>
|
|
|
+ <emphasis><property>dispatcher</property></emphasis>: allows overriding the default
|
|
|
+ dispatcher. Has two subkeys, <property>class</property> (the classname of new dispatcher)
|
|
|
+ and <property>params</property>, an array of parameters to pass to the dispatcher constructor.
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <example id="zend.application.available-resources.frontcontroller.configExample">
|
|
|
+ <title>ディスパッチャーを上書き</title>
|
|
|
+
|
|
|
+ <programlisting language="ini"><![CDATA[
|
|
|
+ [production]
|
|
|
+ resources.frontController.dispatcher.class = "My_Custom_Dispatcher"
|
|
|
+ resources.frontController.dispatcher.params.foo = "bar"
|
|
|
+ resources.frontController.dispatcher.params.baz = "grok"
|
|
|
+ ]]></programlisting>
|
|
|
+ </example>
|
|
|
+
|
|
|
+ </listitem>
|
|
|
+
|
|
|
</itemizedlist>
|
|
|
|
|
|
<para>
|