public function data($key = null) {
		if (!$key) {
			return $this->_config;
		}
		return isset($this->_config[$key]) ? $this->_config[$key] : null;
	}
public function data($key = null) {
		if (!$key) {
			return $this->_config;
		}
		return isset($this->_config[$key]) ? $this->_config[$key] : null;
	}
public function data ( $ key = null ) { if ( ! $ key ) { return $ this -> _config ; } return isset ( $ this -> _config [ $ key ] ) ? $ this -> _config [ $ key ] : null ; }
Returns the named configuration item, or all configuration data, if no parameter is given.

@param string $key The name of the configuration item to return, or `null` to return all
items.
@return mixed Returns a single configuration item (mixed), or an array of all items.
Returns the named configuration item or all configuration data if no parameter is given .