Phergie_Config::offsetGet PHP Метод

offsetGet() публичный Метод

Returns the value of a configuration setting.
См. также: ArrayAccess::offsetGet()
public offsetGet ( string $offset ) : mixed
$offset string Configuration setting name
Результат 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;
    }