public function getOption($key)
    {
        if (Core\Config::isValidOptionName($key)) {
            if (isset($this->$key)) {
                return $this->$key;
            } else {
                return Core\Config::get($key, true);
            }
        }
    }
public function getOption($key)
    {
        if (Core\Config::isValidOptionName($key)) {
            if (isset($this->$key)) {
                return $this->$key;
            } else {
                return Core\Config::get($key, true);
            }
        }
    }
public function getOption ( $ key ) { if ( Core \ Config :: isValidOptionName ( $ key ) ) { if ( isset ( $ this -> $ key ) ) { return $ this -> $ key ; } else { return Core \ Config :: get ( $ key , true ) ; } } }
Request an option value.

Returns global option value if instance option is not set.

@param string $key the requested option key

@return mixed       the requested value
Request an option value .