Solar_View_Helper_ScriptInline::scriptInline()
public
string
Solar_View_Helper_ScriptInline::scriptInline
( string $code
, array $attribs = NULL
)
Returns a <script></script> block that properly commented for inclusion in XHTML documents.
Parameters
(string)
$code
: The source of the script.(array)
$attribs
: Additional attributes for the <script> tag.
Returns
(string) The <script></script> tag with the inline script.
Description
Returns a <script></script> block that properly commented for inclusion in XHTML documents.