Zepi/Web/General/src/Manager/AssetCacheManager.php
protected function generateHtmlCode($type, $file)
    {
        // Generate the url
        $url = $this->getUrlToTheAssetLoader($file);
        
        // Return the correct html tag
        if ($type === AssetManager::CSS) {
            return '<link rel="stylesheet" type="text/css" href="' . $url . '">' . PHP_EOL;
        } else if ($type === AssetManager::JS) {
            return '<script type="text/javascript" src="' . $url . '"></script>' . PHP_EOL;
        }
    }
protected function generateHtmlCode($type, $file)
    {
        // Generate the url
        $url = $this->getUrlToTheAssetLoader($file);
        
        // Return the correct html tag
        if ($type === AssetManager::CSS) {
            return '<link rel="stylesheet" type="text/css" href="' . $url . '">' . PHP_EOL;
        } else if ($type === AssetManager::JS) {
            return '<script type="text/javascript" src="' . $url . '"></script>' . PHP_EOL;
        }
    }
protected function generateHtmlCode ( $ type , $ file ) { // Generate the url $ url = $ this -> getUrlToTheAssetLoader ( $ file ) ; // Return the correct html tag if ( $ type === AssetManager :: CSS ) { return '<link rel="stylesheet" type="text/css" href="' . $ url . '">' . PHP_EOL ; } else if ( $ type === AssetManager :: JS ) { return '<script type="text/javascript" src="' . $ url . '"></script>' . PHP_EOL ; } }
Generates the html code for the given asset

@access protected
@param string $type
@param string $file
@return string
Generates the html code for the given asset