public addJavascriptInline ( string $script, string $type = 'text/javascript' ) | ||
$script | string | The script content to add |
$type | string | The MIME type of the script |
public function addJavascriptInline($script, $type = 'text/javascript')
{
$this->container->template->addJSInline($script, $type);
return $this;
}