src/classes/CCAsset.php
public static function code( $type, $name = null ) 
	{
		$buffer = "";
		
		foreach( static::holder( $name )->get( $type ) as $item )
		{
			$buffer .= call_user_func( array( '\\CCAsset', $type ), $item, $name );
		}
		
		return $buffer;
	}
public static function code( $type, $name = null ) 
	{
		$buffer = "";
		
		foreach( static::holder( $name )->get( $type ) as $item )
		{
			$buffer .= call_user_func( array( '\\CCAsset', $type ), $item, $name );
		}
		
		return $buffer;
	}
public static function code ( $ type , $ name = null ) { $ buffer = "" ; foreach ( static :: holder ( $ name ) -> get ( $ type ) as $ item ) { $ buffer .= call_user_func ( array ( '\\CCAsset' , $ type ) , $ item , $ name ) ; } return $ buffer ; }
Get all assets of a specific type in a holder and run them
trough the maching macros.

CCAsset::code( 'css' );
CCAsset::code( 'js', 'footer' );

@param string		$type
@param string		$name
Get all assets of a specific type in a holder and run them trough the maching macros .