Public Member Functions | |
inlineScript ($mode=Zend_View_Helper_HeadScript::FILE, $spec=null, $placement= 'APPEND', array $attrs=array(), $type= 'text/javascript') | |
Protected Attributes | |
$_regKey = 'Zend_View_Helper_InlineScript' |
Definition at line 36 of file InlineScript.php.
inlineScript | ( | $ | mode = Zend_View_Helper_HeadScript::FILE , |
$ | spec = null , |
||
$ | placement = 'APPEND' , |
||
array $ | attrs = array() , |
||
$ | type = 'text/javascript' |
||
) |
Return InlineScript object
Returns InlineScript helper object; optionally, allows specifying a script or script file to include.
string | $mode | Script or file |
string | $spec | Script/url |
string | $placement | Append, prepend, or set |
array | $attrs | Array of script attributes |
string | $type | Script type and/or array of script attributes |
Definition at line 57 of file InlineScript.php.