ZF-7409: Constructor function wrong doc.

Issue Type: Docs: Problem Created: 2009-07-28T17:47:12.000+0000 Last Updated: 2009-07-28T19:12:02.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Fran (zfran) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Config

Related issues: Attachments:


In Zend_Config_Xml the __constructor's doc says:

<pre class="highlight">
     * Loads the section $section from the config file (or string $xml for
     * access facilitated by nested object properties.
     * Sections are defined in the XML as children of the root element.
     * In order to extend another section, a section defines the "extends"
     * attribute having a value of the section name from which the extending
     * section inherits values.
     * Note that the keys in $section will override any keys of the same
     * name in the sections that have been included via "extends".
     * @param  string  $filename           File to process
     * @param  mixed   $section            Section to process
     * @param  boolean $allowModifications Wether modifiacations are allowed at runtime
     * @throws Zend_Config_Exception When filename is not set
     * @throws Zend_Config_Exception When section $sectionName cannot be found in $filename

But the function declaration is: public function __construct($filename, $section = null, $options = false)


Posted by Satoru Yoshida (satoruyoshida) on 2009-07-28T19:10:04.000+0000

Solved in SVN r17266

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.