private function prepareAssets()
	{
		$lib = $this;
		$attached_groups = $this->getAttachedGroups();
		array_walk($lib->attached_groups, function($group_name) use($lib){
			$groups = $lib->getGroups();
			$group_contents = $groups[$group_name];
			array_walk($group_contents, function($value, $key) use($lib, $group_name){
				switch($key)
				{
					case 'css':
					array_walk($value, function($value, $key) use($lib, $group_name){
						$lib->registerCss($group_name.'/'.$value,$group_name);
					});
					break;
					case 'js':
					array_walk($value, function($value, $key) use($lib, $group_name){
						$lib->registerJs($group_name.'/'.$value,$lib->getOption('jsPosition'),$group_name);
					});
					break;
				}
			});
		});
		return $this;
	}
private function prepareAssets()
	{
		$lib = $this;
		$attached_groups = $this->getAttachedGroups();
		array_walk($lib->attached_groups, function($group_name) use($lib){
			$groups = $lib->getGroups();
			$group_contents = $groups[$group_name];
			array_walk($group_contents, function($value, $key) use($lib, $group_name){
				switch($key)
				{
					case 'css':
					array_walk($value, function($value, $key) use($lib, $group_name){
						$lib->registerCss($group_name.'/'.$value,$group_name);
					});
					break;
					case 'js':
					array_walk($value, function($value, $key) use($lib, $group_name){
						$lib->registerJs($group_name.'/'.$value,$lib->getOption('jsPosition'),$group_name);
					});
					break;
				}
			});
		});
		return $this;
	}
private function prepareAssets ( ) { $ lib = $ this ; $ attached_groups = $ this -> getAttachedGroups ( ) ; array_walk ( $ lib -> attached_groups , function ( $ group_name ) use ( $ lib ) { $ groups = $ lib -> getGroups ( ) ; $ group_contents = $ groups [ $ group_name ] ; array_walk ( $ group_contents , function ( $ value , $ key ) use ( $ lib , $ group_name ) { switch ( $ key ) { case 'css' : array_walk ( $ value , function ( $ value , $ key ) use ( $ lib , $ group_name ) { $ lib -> registerCss ( $ group_name . '/' . $ value , $ group_name ) ; } ) ; break ; case 'js' : array_walk ( $ value , function ( $ value , $ key ) use ( $ lib , $ group_name ) { $ lib -> registerJs ( $ group_name . '/' . $ value , $ lib -> getOption ( 'jsPosition' ) , $ group_name ) ; } ) ; break ; } } ) ; } ) ; return $ this ; }
preparing auto attached groups before registering any asset files
@return self object
preparing auto attached groups before registering any asset files