|
|
@@ -78,7 +78,9 @@
|
|
|
<para>
|
|
|
<emphasis><property>plugins</property></emphasis>: 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.
|
|
|
+ arguments) and then register the instance with the front controller. If you want to
|
|
|
+ register a plugin with a particular stack index, you need to provide an array with
|
|
|
+ two keys <property>class</property> and <property>index</property>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
|
|
|
@@ -114,6 +116,8 @@ resources.frontController.defaultModule = "static"
|
|
|
resources.frontController.baseUrl = "/subdir"
|
|
|
resources.frontController.plugins.foo = "My_Plugin_Foo"
|
|
|
resources.frontController.plugins.bar = "My_Plugin_Bar"
|
|
|
+resources.frontController.plugins.baz.class = "My_Plugin_Baz"
|
|
|
+resources.frontController.plugins.baz.index = 123
|
|
|
resources.frontController.env = APPLICATION_ENV
|
|
|
]]></programlisting>
|
|
|
</example>
|