public function getAssetFiles($type)
    {
        if (!isset($this->assets[$type])) {
            return false;
        }
        
        // Sort the files by dependnecies
        $files = $this->sortFilesByDependencies($this->assets[$type]);

        return $files;
    }
public function getAssetFiles($type)
    {
        if (!isset($this->assets[$type])) {
            return false;
        }
        
        // Sort the files by dependnecies
        $files = $this->sortFilesByDependencies($this->assets[$type]);

        return $files;
    }
public function getAssetFiles ( $ type ) { if ( ! isset ( $ this -> assets [ $ type ] ) ) { return false ; } // Sort the files by dependnecies $ files = $ this -> sortFilesByDependencies ( $ this -> assets [ $ type ] ) ; return $ files ; }
Returns an array with all files for the given type,
sorted by the priority of the assets.

@param string $type
@return boolean|array
Returns an array with all files for the given type sorted by the priority of the assets .