src/Suki/Config.php
public function get($name = '')
	{
		// This needs to be extended by somebody else!
		if(!$this->_app->name)
			return [];

		// Not defined huh?
		if (!$this->_config)
			$this->getConfig();

		return $name ? (isset($this->_config['_'. $name]) ? $this->_config['_'. $name] : []) : $this->_config;
	}
public function get($name = '')
	{
		// This needs to be extended by somebody else!
		if(!$this->_app->name)
			return [];

		// Not defined huh?
		if (!$this->_config)
			$this->getConfig();

		return $name ? (isset($this->_config['_'. $name]) ? $this->_config['_'. $name] : []) : $this->_config;
	}
public function get ( $ name = '' ) { // This needs to be extended by somebody else! if ( ! $ this -> _app -> name ) return [ ] ; // Not defined huh? if ( ! $ this -> _config ) $ this -> getConfig ( ) ; return $ name ? ( isset ( $ this -> _config [ '_' . $ name ] ) ? $ this -> _config [ '_' . $ name ] : [ ] ) : $ this -> _config ; }
Gets a specific mod config array.
@access public
@param string $name The name of an specific setting, if empty it will return the entire array.
@return array
Gets a specific mod config array .