Zend Framework
1.12
|
Public Member Functions | |
__construct () | |
Constructor. | |
headStyle ($content=null, $placement= 'APPEND', $attributes=array()) | |
Return headStyle object. | |
__call ($method, $args) | |
Overload method calls. | |
append ($value) | |
Override append to enforce style creation. | |
offsetSet ($index, $value) | |
Override offsetSet to enforce style creation. | |
prepend ($value) | |
Override prepend to enforce style creation. | |
set ($value) | |
Override set to enforce style creation. | |
captureStart ($type=Zend_View_Helper_Placeholder_Container_Abstract::APPEND, $attrs=null) | |
Start capture action. | |
captureEnd () | |
End capture action and store. | |
itemToString (stdClass $item, $indent) | |
Convert content and attributes into valid style tag. | |
toString ($indent=null) | |
Create string representation of placeholder. | |
createData ($content, array $attributes) | |
Create data item for use in stack. | |
![]() | |
__construct () | |
Constructor. | |
getRegistry () | |
Retrieve registry. | |
setRegistry (Zend_View_Helper_Placeholder_Registry $registry) | |
Set registry object. | |
setAutoEscape ($autoEscape=true) | |
Set whether or not auto escaping should be used. | |
getAutoEscape () | |
Return whether autoEscaping is enabled or disabled. | |
setContainer (Zend_View_Helper_Placeholder_Container_Abstract $container) | |
Set container on which to operate. | |
getContainer () | |
Retrieve placeholder container. | |
__set ($key, $value) | |
Overloading: set property value. | |
__get ($key) | |
Overloading: retrieve property. | |
__isset ($key) | |
Overloading: check if property is set. | |
__unset ($key) | |
Overloading: unset property. | |
__call ($method, $args) | |
Overload. | |
toString () | |
String representation. | |
__toString () | |
Cast to string representation. | |
count () | |
Countable. | |
offsetExists ($offset) | |
ArrayAccess: offsetExists. | |
offsetGet ($offset) | |
ArrayAccess: offsetGet. | |
offsetSet ($offset, $value) | |
ArrayAccess: offsetSet. | |
offsetUnset ($offset) | |
ArrayAccess: offsetUnset. | |
getIterator () | |
IteratorAggregate: get Iterator. | |
![]() | |
setView (Zend_View_Interface $view) | |
Set the View object. | |
direct () | |
Strategy pattern: currently unutilized. | |
Protected Member Functions | |
_isValid ($value) | |
Determine if a value is a valid style tag. | |
![]() | |
_escape ($string) | |
Escape a string. | |
Protected Attributes | |
$_regKey = 'Zend_View_Helper_HeadStyle' | |
$_optionalAttributes = array('lang', 'title', 'media', 'dir') | |
$_mediaTypes | |
$_captureAttrs = null | |
$_captureLock | |
$_captureType | |
![]() | |
$_container | |
$_registry | |
$_regKey | |
$_autoEscape = true | |
Additional Inherited Members | |
![]() | |
$view = null | |
__construct | ( | ) |
Constructor.
Set separator to PHP_EOL.
__call | ( | $method, | |
$args | |||
) |
Overload method calls.
Allows the following method calls:
string | $method | |
array | $args |
Zend_View_Exception | When no $content provided or invalid method |
|
protected |
Determine if a value is a valid style tag.
mixed | $value | |
string | $method |
append | ( | $value | ) |
Override append to enforce style creation.
mixed | $value |
captureEnd | ( | ) |
End capture action and store.
captureStart | ( | $type = Zend_View_Helper_Placeholder_Container_Abstract::APPEND , |
|
$attrs = null |
|||
) |
Start capture action.
mixed | $captureType | |
string | $typeOrAttrs |
createData | ( | $content, | |
array | $attributes | ||
) |
Create data item for use in stack.
string | $content | |
array | $attributes |
headStyle | ( | $content = null , |
|
$placement = 'APPEND' , |
|||
$attributes = array() |
|||
) |
Return headStyle object.
Returns headStyle helper object; optionally, allows specifying
string | $content | Stylesheet contents |
string | $placement | Append, prepend, or set |
string | array | $attributes | Optional attributes to utilize |
itemToString | ( | stdClass | $item, |
$indent | |||
) |
Convert content and attributes into valid style tag.
stdClass | $item | Item to render |
string | $indent | Indentation to use |
offsetSet | ( | $index, | |
$value | |||
) |
Override offsetSet to enforce style creation.
string | int | $index | |
mixed | $value |
prepend | ( | $value | ) |
Override prepend to enforce style creation.
mixed | $value |
set | ( | $value | ) |
Override set to enforce style creation.
mixed | $value |
toString | ( | $indent = null | ) |
Create string representation of placeholder.
string | int | $indent |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |