public function initHeadScript()
    {
        $javascripts = $this->orderByPriority($this->options->getJs()->getHead());
        foreach ($javascripts as $js) {
            $this->setJavascript($this->headScript, $js);
        }

        return $this;
    }
public function initHeadScript()
    {
        $javascripts = $this->orderByPriority($this->options->getJs()->getHead());
        foreach ($javascripts as $js) {
            $this->setJavascript($this->headScript, $js);
        }

        return $this;
    }
public function initHeadScript ( ) { $ javascripts = $ this -> orderByPriority ( $ this -> options -> getJs ( ) -> getHead ( ) ) ; foreach ( $ javascripts as $ js ) { $ this -> setJavascript ( $ this -> headScript , $ js ) ; } return $ this ; }
Initializes the HeadScript element
@return $this
Initializes the HeadScript element