Zend Framework
1.12
|
Public Member Functions | |
__construct () | |
Constructor - This is needed so that we can attach a class member as the ArrayObject container. | |
set ($value) | |
Set a single value. | |
prepend ($value) | |
Prepend a value to the top of the container. | |
getValue () | |
Retrieve container value. | |
setPrefix ($prefix) | |
Set prefix for __toString() serialization. | |
getPrefix () | |
Retrieve prefix. | |
setPostfix ($postfix) | |
Set postfix for __toString() serialization. | |
getPostfix () | |
Retrieve postfix. | |
setSeparator ($separator) | |
Set separator for __toString() serialization. | |
getSeparator () | |
Retrieve separator. | |
setIndent ($indent) | |
Set the indentation string for __toString() serialization, optionally, if a number is passed, it will be the number of spaces. | |
getIndent () | |
Retrieve indentation. | |
getWhitespace ($indent) | |
Retrieve whitespace representation of $indent. | |
captureStart ($type=Zend_View_Helper_Placeholder_Container_Abstract::APPEND, $key=null) | |
Start capturing content to push into placeholder. | |
captureEnd () | |
End content capture. | |
getKeys () | |
Get keys. | |
nextIndex () | |
Next Index. | |
toString ($indent=null) | |
Render the placeholder. | |
__toString () | |
Serialize object to string. | |
Public Attributes | |
const | SET = 'SET' |
Whether or not to override all contents of placeholder string. | |
const | APPEND = 'APPEND' |
Whether or not to append contents to placeholder string. | |
const | PREPEND = 'PREPEND' |
Whether or not to prepend contents to placeholder string. | |
Protected Attributes | |
$_prefix = '' | |
$_postfix = '' | |
$_separator = '' | |
$_indent = '' | |
$_captureLock = false | |
$_captureType | |
$_captureKey | |
__construct | ( | ) |
Constructor - This is needed so that we can attach a class member as the ArrayObject container.
__toString | ( | ) |
Serialize object to string.
captureEnd | ( | ) |
End content capture.
captureStart | ( | $type = Zend_View_Helper_Placeholder_Container_Abstract::APPEND , |
|
$key = null |
|||
) |
Start capturing content to push into placeholder.
int | string | $type | How to capture content into placeholder; append, prepend, or set |
null | $key |
getIndent | ( | ) |
Retrieve indentation.
getKeys | ( | ) |
Get keys.
getPostfix | ( | ) |
Retrieve postfix.
getPrefix | ( | ) |
Retrieve prefix.
getSeparator | ( | ) |
Retrieve separator.
getValue | ( | ) |
Retrieve container value.
If single element registered, returns that element; otherwise, serializes to array.
getWhitespace | ( | $indent | ) |
Retrieve whitespace representation of $indent.
int | string | $indent |
nextIndex | ( | ) |
Next Index.
as defined by the PHP manual
prepend | ( | $value | ) |
Prepend a value to the top of the container.
mixed | $value |
set | ( | $value | ) |
Set a single value.
mixed | $value |
setIndent | ( | $indent | ) |
Set the indentation string for __toString() serialization, optionally, if a number is passed, it will be the number of spaces.
string | int | $indent |
setPostfix | ( | $postfix | ) |
Set postfix for __toString() serialization.
string | $postfix |
setPrefix | ( | $prefix | ) |
Set prefix for __toString() serialization.
string | $prefix |
setSeparator | ( | $separator | ) |
Set separator for __toString() serialization.
Used to implode elements in container
string | $separator |
toString | ( | $indent = null | ) |
Render the placeholder.
null | $indent |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const APPEND = 'APPEND' |
Whether or not to append contents to placeholder string.
const PREPEND = 'PREPEND' |
Whether or not to prepend contents to placeholder string.
const SET = 'SET' |
Whether or not to override all contents of placeholder string.