Browse Source

Added missing documentation of the ability to pass multiple config files (to merge) into Zend_Application's constructor

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20943 44c647ce-9c0f-0410-b52a-842ac1e357ba
padraic 16 years ago
parent
commit
2404ed147b

+ 12 - 0
documentation/manual/en/module_specs/Zend_Application-CoreFunctionality-Application.xml

@@ -135,6 +135,18 @@
                                             to determine what section of the
                                             configuration to pull.
                                         </para>
+                                        <para>
+                                            As of 1.10, you may also pass multiple paths containing config
+                                            files to be merged into a single configuration. This assists in
+                                            reducing config duplication across many contexts which share
+                                            common settings (e.g. configs for HTTP, or CLI, each sharing some
+                                            characteristics but with their own conflicting values for others) or
+                                            merely splitting a long configuration across many smaller categorised
+                                            files. The parameter in this case is an array with a single key "configs"
+                                            whose value is an array of the files to merge. Note: this means
+                                            you either pass a literal path, or
+                                            array("configs"=>array("/path1","/path2"[,...])).
+                                        </para>
                                     </listitem>
 
                                     <listitem>