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)
bool $_captureLock = ''
Capture lock
string $_captureType = ''
Capture type (append, prepend, set)
array $_mediaTypes = 'array'
Allowed media types
array $_optionalAttributes = 'array'
Allowed optional attributes
string $_regKey = 'Zend_View_Helper_HeadStyle'
Registry key for placeholder
__call(
string $method, array $args
)
:
void
Overload method calls
Allows the following method calls: - appendStyle($content, $attributes = array()) - offsetSetStyle($index, $content, $attributes = array()) - prependStyle($content, $attributes = array()) - setStyle($content, $attributes = array())
__construct(
)
:
void
Constructor
Set separator to PHP_EOL.
_isValid(
mixed $value
)
:
boolean
Determine if a value is a valid style tag
append(
mixed $value
)
:
void
Override append to enforce style creation
captureEnd(
)
:
void
End capture action and store
captureStart(
$type
=
Zend_View_Helper_Placeholder_Container_Abstract, $attrs
=
null
)
:
void
Start capture action
createData(
string $content, array $attributes
)
:
stdClass
Create data item for use in stack
headStyle(
string $content
=
null, string $placement
=
APPEND, string|array $attributes
=
array
)
:
Zend_View_Helper_HeadStyle
Return headStyle object
Returns headStyle helper object; optionally, allows specifying
itemToString(
stdClass $item, string $indent
)
:
string
Convert content and attributes into valid style tag
offsetSet(
string|int $index, mixed $value
)
:
void
Override offsetSet to enforce style creation
prepend(
mixed $value
)
:
void
Override prepend to enforce style creation
set(
mixed $value
)
:
void
Override set to enforce style creation
toString(
string|int $indent
=
null
)
:
string
Create string representation of placeholder