src/classes/CCTheme.php
public static function create( $file = null, $data = null, $encode = false ) 
	{
		$view = parent::create( static::view_namespace().'::'.$file, $data, $encode );
		
		// set the asset holder path
		\CCAsset::holder( 'theme' )->path = static::public_namespace();
		
		// set the vendor path
		\CCAsset::holder( 'vendor' )->path = 'assets/vendor/';
		
		// you may ask why not just return the parent::create(bla bla.. directly?
		// i actually wanted to do something with that var view. So if you'r still
		// able to read this i completly forgot it.
		return $view;
	}
public static function create( $file = null, $data = null, $encode = false ) 
	{
		$view = parent::create( static::view_namespace().'::'.$file, $data, $encode );
		
		// set the asset holder path
		\CCAsset::holder( 'theme' )->path = static::public_namespace();
		
		// set the vendor path
		\CCAsset::holder( 'vendor' )->path = 'assets/vendor/';
		
		// you may ask why not just return the parent::create(bla bla.. directly?
		// i actually wanted to do something with that var view. So if you'r still
		// able to read this i completly forgot it.
		return $view;
	}
public static function create ( $ file = null , $ data = null , $ encode = false ) { $ view = parent :: create ( static :: view_namespace ( ) . '::' . $ file , $ data , $ encode ) ; // set the asset holder path \ CCAsset :: holder ( 'theme' ) -> path = static :: public_namespace ( ) ; // set the vendor path \ CCAsset :: holder ( 'vendor' ) -> path = 'assets/vendor/' ; // you may ask why not just return the parent::create(bla bla.. directly? // i actually wanted to do something with that var view. So if you'r still // able to read this i completly forgot it. return $ view ; }
theme creator
returns a new view instance

@param string		$file
@param array 		$data
@param bool		$encode
@return CCView
theme creator returns a new view instance