src/UI/Image/Graph/Components.php
public static function getSubConfig( $config, $prefix )
	{
		$data	= array();
		$length	= strlen( $prefix );
		foreach( $config as $key => $value )
			if( substr( $key, 0, $length ) == $prefix )
				$data[substr( $key, $length )]	= $value;
		return $data;
	}
public static function getSubConfig( $config, $prefix )
	{
		$data	= array();
		$length	= strlen( $prefix );
		foreach( $config as $key => $value )
			if( substr( $key, 0, $length ) == $prefix )
				$data[substr( $key, $length )]	= $value;
		return $data;
	}
public static function getSubConfig ( $ config , $ prefix ) { $ data = array ( ) ; $ length = strlen ( $ prefix ) ; foreach ( $ config as $ key => $ value ) if ( substr ( $ key , 0 , $ length ) == $ prefix ) $ data [ substr ( $ key , $ length ) ] = $ value ; return $ data ; }
Returns a Configuration Subset with a Prefix
@access		protected
@static
@param		array		$config			Configuration Data
@param		string		$prefix			Parameter Prefix, must end mit a Point
@return		array
Returns a Configuration Subset with a Prefix