Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Helper for setting and retrieving stylesheets
string $_captureAttrs = 'null'Capture type and/or attributes (used for hinting during capture)
Detailsbool $_captureLock = ''Capture lock
Detailsstring $_captureType = ''Capture type (append, prepend, set)
Detailsarray $_mediaTypes = 'array'Allowed media types
Detailsarray $_optionalAttributes = 'array'Allowed optional attributes
Detailsstring $_regKey = 'Zend_View_Helper_HeadStyle'Registry key for placeholder
Details__call(
string $method, array $args
)
:
voidOverload method calls
Allows the following method calls: - appendStyle($content, $attributes = array()) - offsetSetStyle($index, $content, $attributes = array()) - prependStyle($content, $attributes = array()) - setStyle($content, $attributes = array())
Details__construct(
)
:
voidConstructor
Set separator to PHP_EOL.
Details_isValid(
mixed $value
)
:
booleanDetermine if a value is a valid style tag
Detailsappend(
mixed $value
)
:
voidOverride append to enforce style creation
DetailscaptureEnd(
)
:
voidEnd capture action and store
DetailscaptureStart(
$type
=
Zend_View_Helper_Placeholder_Container_Abstract, $attrs
=
null
)
:
voidStart capture action
DetailscreateData(
string $content, array $attributes
)
:
stdClassCreate data item for use in stack
DetailsheadStyle(
string $content
=
null, string $placement
=
APPEND, string|array $attributes
=
array
)
:
Zend_View_Helper_HeadStyleReturn headStyle object
Returns headStyle helper object; optionally, allows specifying
DetailsitemToString(
stdClass $item, string $indent
)
:
stringConvert content and attributes into valid style tag
DetailsoffsetSet(
string|int $index, mixed $value
)
:
voidOverride offsetSet to enforce style creation
Detailsprepend(
mixed $value
)
:
voidOverride prepend to enforce style creation
Detailsset(
mixed $value
)
:
voidOverride set to enforce style creation
DetailstoString(
string|int $indent
=
null
)
:
stringCreate string representation of placeholder
Details