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;
    }