ZF-1417: Add get() accessor to allow default values from a config node

Issue Type: Improvement Created: 2007-05-22T02:41:58.000+0000 Last Updated: 2007-07-05T14:44:11.000+0000 Status: Resolved Fix version(s): Reporter: Simon Mundy (peptolab) Assignee: Rob Allen (rob) Tags: - Zend_Config

Related issues: Attachments:


<pre class="highlight">
    public function get($name, $default = null)
        $result = $this->__get($name);
        if ($result !== null) {
            return $result;
        return $default;


Posted by Bill Karwin (bkarwin) on 2007-05-23T10:07:32.000+0000

Assigning to Darby.

Posted by Rob Allen (rob) on 2007-05-30T15:34:39.000+0000

Fixed in svn 5063

Have you found an issue?

See the Overview section for more details.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

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