protected function _get( $config,  $parts )
	{
		if( ( $current = array_shift( $parts ) ) !== null && isset( $config[$current] ) )
		{
			if( count( $parts ) > 0 ) {
				return $this->_get( $config[$current], $parts );
			}

			return $config[$current];
		}

		return null;
	}
protected function _get( $config,  $parts )
	{
		if( ( $current = array_shift( $parts ) ) !== null && isset( $config[$current] ) )
		{
			if( count( $parts ) > 0 ) {
				return $this->_get( $config[$current], $parts );
			}

			return $config[$current];
		}

		return null;
	}
protected function _get ( $ config , $ parts ) { if ( ( $ current = array_shift ( $ parts ) ) !== null && isset ( $ config [ $ current ] ) ) { if ( count ( $ parts ) > 0 ) { return $ this -> _get ( $ config [ $ current ] , $ parts ) ; } return $ config [ $ current ] ; } return null ; }
Returns a configuration value from an array.

@param array $config The array to search in
@param array $parts Configuration path parts to look for inside the array
@return mixed Found value or null if no value is available
Returns a configuration value from an array .