src/Helper/Scripts.php
public function addInternal($script, $pos = 100, array $attr = array())
    {
        $attr = $this->attr(null, $attr);
        $tag = "<script $attr>$script</script>";
        $this->addElement($pos, $tag);
        return $this;
    }
public function addInternal($script, $pos = 100, array $attr = array())
    {
        $attr = $this->attr(null, $attr);
        $tag = "<script $attr>$script</script>";
        $this->addElement($pos, $tag);
        return $this;
    }
public function addInternal ( $ script , $ pos = 100 , array $ attr = array ( ) ) { $ attr = $ this -> attr ( null , $ attr ) ; $ tag = "<script $attr>$script</script>" ; $ this -> addElement ( $ pos , $ tag ) ; return $ this ; }
Adds internal script

@param mixed $script The script
@param int   $pos    The script position in the stack.
@param array $attr The additional attributes

@return self

@access public
Adds internal script