Phergie_Config::offsetGet PHP Method

offsetGet() public method

Returns the value of a configuration setting.
See also: ArrayAccess::offsetGet()
public offsetGet ( string $offset ) : mixed
$offset string Configuration setting name
return mixed Configuration setting value or NULL if it is not assigned a value
    public function offsetGet($offset)
    {
        if (isset($this->settings[$offset])) {
            $value =& $this->settings[$offset];
        } else {
            $value = null;
        }
        return $value;
    }