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.
Abstract class representing container for placeholder values
SET = 'SET'
Whether or not to override all contents of placeholder
Details APPEND = 'APPEND'
Whether or not to append contents to placeholder
Details PREPEND = 'PREPEND'
Whether or not to prepend contents to placeholder
Detailsstring $_captureKey = ''Key to which to capture content
Detailsbool $_captureLock = 'false'Whether or not we're already capturing for this given container
Detailsstring $_captureType = ''What type of capture (overwrite (set), append, prepend) to use
Detailsstring $_indent = ''What string to use as the indentation of output, this will typically be spaces. Eg: ' '
Detailsstring $_postfix = ''What text to append the placeholder with when rendering
Detailsstring $_prefix = ''What text to prefix the placeholder with when rendering
Detailsstring $_separator = ''What string to use between individual items in the placeholder when rendering
Details__construct(
)
:
voidConstructor - This is needed so that we can attach a class member as the ArrayObject container
Details__toString(
)
:
stringSerialize object to string
DetailscaptureEnd(
)
:
voidEnd content capture
DetailscaptureStart(
int $type
=
Zend_View_Helper_Placeholder_Container_Abstract, $key
=
null
)
:
voidStart capturing content to push into placeholder
DetailsgetIndent(
)
:
stringRetrieve indentation
DetailsgetKeys(
)
:
arrayGet keys
DetailsgetPostfix(
)
:
stringRetrieve postfix
DetailsgetPrefix(
)
:
stringRetrieve prefix
DetailsgetSeparator(
)
:
stringRetrieve separator
DetailsgetValue(
)
:
mixedRetrieve container value
If single element registered, returns that element; otherwise, serializes to array.
DetailsgetWhitespace(
int|string $indent
)
:
stringRetrieve whitespace representation of $indent
DetailsnextIndex(
)
:
intNext Index
as defined by the PHP manual
Detailsprepend(
mixed $value
)
:
voidPrepend a value to the top of the container
Detailsset(
mixed $value
)
:
voidSet a single value
DetailssetIndent(
string|int $indent
)
:
Zend_View_Helper_Placeholder_Container_AbstractSet the indentation string for __toString() serialization, optionally, if a number is passed, it will be the number of spaces
DetailssetPostfix(
string $postfix
)
:
Zend_View_Helper_Placeholder_ContainerSet postfix for __toString() serialization
DetailssetPrefix(
string $prefix
)
:
Zend_View_Helper_Placeholder_ContainerSet prefix for __toString() serialization
DetailssetSeparator(
string $separator
)
:
Zend_View_Helper_Placeholder_ContainerSet separator for __toString() serialization
Used to implode elements in container
DetailstoString(
$indent
=
null
)
:
stringRender the placeholder
Details