RendererInterface

Interface class for Zend\View\Renderer\* compatible template engine implementations

Known implementers

Omeka\View\Renderer\ApiJsonRenderer , Zend\View\Renderer\JsonRenderer

Methods Summary
public
# getEngine( )
Return the template engine object, if any If using a third-party template engine, such as Smarty, patTemplate, phplib, etc, return the template engine object. Useful for calling methods on these objects, such as for setting filters, modifiers, etc.
public
# setResolver( Zend\View\Resolver\ResolverInterface $resolver )
Set the resolver used to map a template name to a resource the renderer may consume.
public
# render( string|\ModelInterface $nameOrModel , null|array|\ArrayAccess $values = NULL )
Processes a view script and returns the output.