src/Common/Service/Asset.php
protected function loadUrl($sAsset, $sForceType)
    {
        $sType = $this->determineType($sAsset, $sForceType);

        switch ($sType) {

            case 'CSS':

                $this->aCss['URL-' . $sAsset] = $sAsset;
                break;

            case 'JS':

                $this->aJs['URL-' . $sAsset] = $sAsset;
                break;
        }
    }
protected function loadUrl($sAsset, $sForceType)
    {
        $sType = $this->determineType($sAsset, $sForceType);

        switch ($sType) {

            case 'CSS':

                $this->aCss['URL-' . $sAsset] = $sAsset;
                break;

            case 'JS':

                $this->aJs['URL-' . $sAsset] = $sAsset;
                break;
        }
    }
protected function loadUrl ( $ sAsset , $ sForceType ) { $ sType = $ this -> determineType ( $ sAsset , $ sForceType ) ; switch ( $ sType ) { case 'CSS' : $ this -> aCss [ 'URL-' . $ sAsset ] = $ sAsset ; break ; case 'JS' : $ this -> aJs [ 'URL-' . $ sAsset ] = $ sAsset ; break ; } }
Loads an asset supplied as a URL

@param  string $sAsset     The asset to load
@param  string $sForceType Force a particular type of asset (i.e. JS or CSS)

@return void
Loads an asset supplied as a URL