public function getOptions($option = null)
    {
        if ($option === null) {
            return $this->_options;
        }

        if (!array_key_exists($option, $this->_options)) {
            return null;
        }

        return $this->_options[$option];
    }
public function getOptions($option = null)
    {
        if ($option === null) {
            return $this->_options;
        }

        if (!array_key_exists($option, $this->_options)) {
            return null;
        }

        return $this->_options[$option];
    }
public function getOptions ( $ option = null ) { if ( $ option === null ) { return $ this -> _options ; } if ( ! array_key_exists ( $ option , $ this -> _options ) ) { return null ; } return $ this -> _options [ $ option ] ; }
Returns one or all set options

@param string $option (Optional) Option to return
@return mixed
Returns one or all set options