public function addHeaderScript($url)
    {
        $url = self::resolveUrl($url);
        if ($url) {
            $this->headerScripts[self::hashResource($url)] = $url;
        }
    }
public function addHeaderScript($url)
    {
        $url = self::resolveUrl($url);
        if ($url) {
            $this->headerScripts[self::hashResource($url)] = $url;
        }
    }
public function addHeaderScript ( $ url ) { $ url = self :: resolveUrl ( $ url ) ; if ( $ url ) { $ this -> headerScripts [ self :: hashResource ( $ url ) ] = $ url ; } }
Add a header JavaScript

@param string $url Header JavaScript URL
Add a header JavaScript