Constructor
| Parameters: |
|
|---|
Property overloading: set variable value
| Parameters: |
|
|---|---|
| Return type: | void |
Property overloading: get variable value
| Parameters: | string – |
|---|---|
| Return type: | mixed |
Property overloading: do we have the requested variable value?
| Parameters: | string – |
|---|---|
| Return type: | bool |
Property overloading: unset the requested variable
| Parameters: | string – |
|---|---|
| Return type: | void |
Set a single option
| Parameters: |
|
|---|---|
| Return type: | ViewModel |
Get a single option
| Parameters: |
|
|---|---|
| Return type: | mixed |
Set renderer options/hints en masse
| Parameters: | array|Traversable – |
|---|---|
| Throws ZendViewExceptionInvalidArgumentException: | |
| Return type: | ViewModel |
Clear any existing renderer options/hints
| Return type: | ViewModel |
|---|
Get a single view variable
| Parameters: |
|
|---|---|
| Return type: | mixed |
Set view variable
| Parameters: |
|
|---|---|
| Return type: | ViewModel |
Set view variables en masse
Can be an array or a Traversable + ArrayAccess object.
| Parameters: |
|
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | ViewModel |
Get view variables
| Return type: | array|ArrayAccess|Traversable |
|---|
Clear all variables
Resets the internal variable container to an empty container.
| Return type: | ViewModel |
|---|
Set the template to be used by this model
| Parameters: | string – |
|---|---|
| Return type: | ViewModel |
Get the template to be used by this model
| Return type: | string |
|---|
Add a child model
| Parameters: |
|
|---|---|
| Return type: | ViewModel |
Return all children.
Return specifies an array, but may be any iterable object.
| Return type: | array |
|---|
Set the name of the variable to capture this model to, if it is a child model
| Parameters: | string – |
|---|---|
| Return type: | ViewModel |
Get the name of the variable to which to capture this model
| Return type: | string |
|---|
Set flag indicating whether or not this is considered a terminal or standalone model
| Parameters: | bool – |
|---|---|
| Return type: | ViewModel |
Is this considered a terminal or standalone model?
| Return type: | bool |
|---|
Set flag indicating whether or not append to child with the same capture
| Parameters: | bool – |
|---|---|
| Return type: | ViewModel |
Return count of children
| Return type: | int |
|---|