Zend_View_Helper_HeadScriptHelper for setting and retrieving script elements for HTML head section
Located in /View/Helper/HeadScript.php (line 35)
Zend_View_Helper_Abstract | --Zend_View_Helper_Placeholder_Container_Standalone | --Zend_View_Helper_HeadScript
| Class | Description |
|---|---|
Zend_View_Helper_InlineScript
|
Helper for setting and retrieving script elements for inclusion in HTML body section |
void
captureStart
([mixed $captureType = Zend_View_Helper_Placeholder_Container_Abstract::APPEND], [ $type = 'text/javascript'], [ $attrs = array()], string $typeOrAttrs)
Zend_View_Helper_HeadScript
headScript
([string $mode = Zend_View_Helper_HeadScript::FILE], [string $spec = null], [string $placement = 'APPEND'], [ $attrs = array()], [string $type = 'text/javascript'])
string
itemToString
( $item, string|int $indent, $escapeStart, $escapeEnd, string $type, array $attributes, string $content)
bool
$useCdata
= false (line 86)
Whether or not to format scripts using CDATA; used only if doctype
helper is not accessible
bool
$_arbitraryAttributes
= false (line 55)
Are arbitrary attributes allowed?
string
$_captureLock
(line 61)
Capture type and/or attributes (used for hinting during capture)
string
$_captureScriptAttrs
= null (line 63)
Capture type and/or attributes (used for hinting during capture)
string
$_captureScriptType
= null (line 62)
Capture type and/or attributes (used for hinting during capture)
string
$_captureType
(line 64)
Capture type and/or attributes (used for hinting during capture)
array
$_optionalAttributes
= array(Optional allowed attributes for script tag
string
$_regKey
= 'Zend_View_Helper_HeadScript' (line 49)
Registry key for placeholder
string
$_requiredAttributes
= array('type') (line 79)
Required attributes for script tag
Inherited from Zend_View_Helper_Placeholder_Container_Standalone
Zend_View_Helper_Placeholder_Container_Standalone::$_autoEscape
Zend_View_Helper_Placeholder_Container_Standalone::$_container
Zend_View_Helper_Placeholder_Container_Standalone::$_registry
Inherited from Zend_View_Helper_Abstract
Zend_View_Helper_Abstract::$view
Constructor __construct (line 95)
Constructor
Set separator to PHP_EOL.
append (line 310)
Override append
arbitraryAttributesAllowed (line 395)
Are arbitrary attributes allowed?
captureEnd (line 163)
End capture action and store
captureStart (line 142)
Start capture action
createData (line 487)
Create data item containing all necessary components of script
headScript (line 114)
Return headScript object
Returns headScript helper object; optionally, allows specifying a script or script file to include.
itemToString (line 409)
Create script HTML
offsetSet (line 365)
Override offsetSet
prepend (line 328)
Override prepend
set (line 346)
Override set
setAllowArbitraryAttributes (line 384)
Set flag indicating if arbitrary attributes are allowed
toString (line 451)
Retrieve string representation
_isDuplicate (line 272)
Is the file specified a duplicate?
_isValid (line 292)
Is the script provided valid?
__call (line 203)
Overload method access
Allows the following method calls:
Inherited From Zend_View_Helper_Placeholder_Container_Standalone
Zend_View_Helper_Placeholder_Container_Standalone::__construct()
Zend_View_Helper_Placeholder_Container_Standalone::count()
Zend_View_Helper_Placeholder_Container_Standalone::getAutoEscape()
Zend_View_Helper_Placeholder_Container_Standalone::getContainer()
Zend_View_Helper_Placeholder_Container_Standalone::getIterator()
Zend_View_Helper_Placeholder_Container_Standalone::getRegistry()
Zend_View_Helper_Placeholder_Container_Standalone::offsetExists()
Zend_View_Helper_Placeholder_Container_Standalone::offsetGet()
Zend_View_Helper_Placeholder_Container_Standalone::offsetSet()
Zend_View_Helper_Placeholder_Container_Standalone::offsetUnset()
Zend_View_Helper_Placeholder_Container_Standalone::setAutoEscape()
Zend_View_Helper_Placeholder_Container_Standalone::setContainer()
Zend_View_Helper_Placeholder_Container_Standalone::setRegistry()
Zend_View_Helper_Placeholder_Container_Standalone::toString()
Zend_View_Helper_Placeholder_Container_Standalone::_escape()
Zend_View_Helper_Placeholder_Container_Standalone::__call()
Zend_View_Helper_Placeholder_Container_Standalone::__get()
Zend_View_Helper_Placeholder_Container_Standalone::__isset()
Zend_View_Helper_Placeholder_Container_Standalone::__set()
Zend_View_Helper_Placeholder_Container_Standalone::__toString()
Zend_View_Helper_Placeholder_Container_Standalone::__unset()
Inherited From Zend_View_Helper_Abstract
Zend_View_Helper_Abstract::direct()
Zend_View_Helper_Abstract::setView()
Documentation generated on Mon, 21 Jun 2010 15:26:14 -0400 by phpDocumentor 1.4.3