Issue Details (XML | Word | Printable)

Key: ZF-1417
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Rob Allen
Reporter: Simon Mundy
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

Add get() accessor to allow default values from a config node

Created: 22/May/07 02:41 AM   Updated: 05/Jul/07 02:44 PM   Resolved: 30/May/07 03:34 PM
Return to search "Fixed in 1.5.1"
Component/s: Zend_Config
Affects Version/s: 0.9.3
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
public function get($name, $default = null)
    {
        $result = $this->__get($name);
        if ($result !== null) {
            return $result;
        }
        return $default;
    }


Bill Karwin added a comment - 23/May/07 10:07 AM

Assigning to Darby.


Rob Allen added a comment - 30/May/07 03:34 PM

Fixed in svn 5063