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

        switch ($sType) {

            case 'CSS':

                unset($this->aCss['URL-' . $sAsset]);
                break;

            case 'JS':

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

        switch ($sType) {

            case 'CSS':

                unset($this->aCss['URL-' . $sAsset]);
                break;

            case 'JS':

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

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

@return void
Unloads an asset supplied as a URL