Abstract class for Zend_View to help enforce private constructs.
Note: all private variables in this class are prefixed with “__”. This is to mark them as part of the internal implementation, and thus prevent conflict with variables injected into the renderer.
Constructor.
Parameters: | array – Configuration key-value pairs. |
---|
Return the template engine object
Returns the object instance, as it is its own template engine
Return type: | PhpRenderer |
---|
Allow custom object initialization when extending Zend_View_Abstract or Zend_View
Triggered by {@link __construct() the constructor} as its final action.
Return type: | void |
---|
Set script resolver
Parameters: | Resolver – |
---|---|
Return type: | PhpRenderer |
Throws : | ExceptionInvalidArgumentException |
Retrieve template name or template resolver
Parameters: | null|string – |
---|---|
Return type: | string|Resolver |
Set variable storage
Expects either an array, or an object implementing ArrayAccess.
Parameters: | array|ArrayAccess – |
---|---|
Return type: | PhpRenderer |
Throws : | ExceptionInvalidArgumentException |
Get a single variable, or all variables
Parameters: | mixed – |
---|---|
Return type: | mixed |
Get a single variable
Parameters: | mixed – |
---|---|
Return type: | mixed |
Overloading: proxy to Variables container
Parameters: | string – |
---|---|
Return type: | mixed |
Overloading: proxy to Variables container
Parameters: |
|
---|---|
Return type: | void |
Overloading: proxy to Variables container
Parameters: | string – |
---|---|
Return type: | bool |
Overloading: proxy to Variables container
Parameters: | string – |
---|---|
Return type: | void |
Set helper plugin manager instance
Parameters: | string|HelperPluginManager – |
---|---|
Return type: | PhpRenderer |
Throws : | ExceptionInvalidArgumentException |
Get helper plugin manager instance
Return type: | HelperPluginManager |
---|
Get plugin instance
Parameters: |
|
---|---|
Return type: | AbstractHelper |
Overloading: proxy to helpers
Proxies to the attached plugin manager to retrieve, return, and potentially execute helpers.
Parameters: |
|
---|---|
Return type: | mixed |
Set filter chain
Parameters: | FilterChain – |
---|---|
Return type: | PhpRenderer |
Retrieve filter chain for post-filtering script content
Return type: | FilterChain |
---|
Processes a view script and returns the output.
Parameters: |
|
---|---|
Return type: | string The script output. |
Throws : | ExceptionDomainException if a ViewModel is passed, but does not contain a template option. |
Throws : | ExceptionInvalidArgumentException if the values passed are not an array or ArrayAccess object |
Throws : | ExceptionRuntimeException if the template cannot be rendered |
Set flag indicating whether or not we should render trees of view models
If set to true, the View instance will not attempt to render children separately, but instead pass the root view model directly to the PhpRenderer. It is then up to the developer to render the children from within the view script.
Parameters: | bool – |
---|---|
Return type: | PhpRenderer |
Can we render trees, or are we configured to do so?
Return type: | bool |
---|