Zepi/Web/General/src/Manager/AssetCacheManager.php
protected function displayCombinedAssets($type, $files)
    {
        $isValid = $this->validateTypeCache($type, $files);
        
        // If the cache isn't valid, we build the cache
        $result = $isValid;
        if (!$isValid) {
            $result = $this->buildTypeCache($type, $files);
        }
        
        // If the cache is valid, load the file
        if ($result) {
            $hash = $this->getTypeHash($type);
            $cachedFile = $this->cachedFiles[$hash]['file'];
        
            echo $this->generateHtmlCode($type, $cachedFile);
        }
    }
protected function displayCombinedAssets($type, $files)
    {
        $isValid = $this->validateTypeCache($type, $files);
        
        // If the cache isn't valid, we build the cache
        $result = $isValid;
        if (!$isValid) {
            $result = $this->buildTypeCache($type, $files);
        }
        
        // If the cache is valid, load the file
        if ($result) {
            $hash = $this->getTypeHash($type);
            $cachedFile = $this->cachedFiles[$hash]['file'];
        
            echo $this->generateHtmlCode($type, $cachedFile);
        }
    }
protected function displayCombinedAssets ( $ type , $ files ) { $ isValid = $ this -> validateTypeCache ( $ type , $ files ) ; // If the cache isn't valid, we build the cache $ result = $ isValid ; if ( ! $ isValid ) { $ result = $ this -> buildTypeCache ( $ type , $ files ) ; } // If the cache is valid, load the file if ( $ result ) { $ hash = $ this -> getTypeHash ( $ type ) ; $ cachedFile = $ this -> cachedFiles [ $ hash ] [ 'file' ] ; echo $ this -> generateHtmlCode ( $ type , $ cachedFile ) ; } }
Displays the combined assets for the given asset type

@param string $type
@param array $files
Displays the combined assets for the given asset type