Abstract class representing container for placeholder values
Constructor - This is needed so that we can attach a class member as the ArrayObject container
Set a single value
Parameters: | mixed – |
---|---|
Return type: | void |
Prepend a value to the top of the container
Parameters: | mixed – |
---|---|
Return type: | void |
Retrieve container value
If single element registered, returns that element; otherwise, serializes to array.
Return type: | mixed |
---|
Set prefix for __toString() serialization
Parameters: | string – |
---|---|
Return type: | ZendViewHelperPlaceholderContainerAbstractContainer |
Set postfix for __toString() serialization
Parameters: | string – |
---|---|
Return type: | ZendViewHelperPlaceholderContainerAbstractContainer |
Set separator for __toString() serialization
Used to implode elements in container
Parameters: | string – |
---|---|
Return type: | ZendViewHelperPlaceholderContainerAbstractContainer |
Set the indentation string for __toString() serialization, optionally, if a number is passed, it will be the number of spaces
Parameters: | string|int – |
---|---|
Return type: | ZendViewHelperPlaceholderContainerAbstractContainer |
Retrieve whitespace representation of $indent
Parameters: | int|string – |
---|---|
Return type: | string |
Start capturing content to push into placeholder
Parameters: |
|
---|---|
Return type: | void |
Throws : | ExceptionRuntimeException if nested captures detected |