Phergie_Config::offsetUnset PHP 메소드

offsetUnset() 공개 메소드

Removes the value set for a configuration setting.
또한 보기: ArrayAccess::offsetUnset()
public offsetUnset ( string $offset ) : void
$offset string Configuration setting name
리턴 void
    public function offsetUnset($offset)
    {
        unset($this->settings[$offset]);
        foreach ($this->files as $file => $settings) {
            $key = array_search($offset, $settings);
            if ($key !== false) {
                unset($this->files[$file][$key]);
            }
        }
    }