protected function getUninstalledFiles($type, $modelClass, $themeId)
	{
		$installed  = array();
		$collection = $modelClass::findBy('type="file" AND pid', $themeId);

		if($collection !== null)
		{
			$installed = $collection->fetchEach('file');
		}

		$available = $GLOBALS['BOOTSTRAP']['assets'][$type];

		foreach($available as $vendor => $files)
		{
			foreach($files as $file => $name)
			{
				if(in_array($file, $installed))
				{
					unset($available[$vendor][$file]);
				}
			}
		}

		return $available;
	}
protected function getUninstalledFiles($type, $modelClass, $themeId)
	{
		$installed  = array();
		$collection = $modelClass::findBy('type="file" AND pid', $themeId);

		if($collection !== null)
		{
			$installed = $collection->fetchEach('file');
		}

		$available = $GLOBALS['BOOTSTRAP']['assets'][$type];

		foreach($available as $vendor => $files)
		{
			foreach($files as $file => $name)
			{
				if(in_array($file, $installed))
				{
					unset($available[$vendor][$file]);
				}
			}
		}

		return $available;
	}
protected function getUninstalledFiles ( $ type , $ modelClass , $ themeId ) { $ installed = array ( ) ; $ collection = $ modelClass :: findBy ( 'type="file" AND pid' , $ themeId ) ; if ( $ collection !== null ) { $ installed = $ collection -> fetchEach ( 'file' ) ; } $ available = $ GLOBALS [ 'BOOTSTRAP' ] [ 'assets' ] [ $ type ] ; foreach ( $ available as $ vendor => $ files ) { foreach ( $ files as $ file => $ name ) { if ( in_array ( $ file , $ installed ) ) { unset ( $ available [ $ vendor ] [ $ file ] ) ; } } } return $ available ; }
generic get uninstall files helper method

@param string $type css|js
@param string $modelClass
@param int    $themeId

@return mixed
generic get uninstall files helper method