Method |
Description |
|
__call ( string $method, array $args ) : mixed |
Provides access to view helpers. |
|
__construct ( ) : void |
Class constructor. |
|
getEngine ( ) : Layout |
Returns the template engine object. |
|
partial ( string $template, array $data = [] ) : string |
Renders template fragment in its own variable scope. |
|
render ( string $template, array $data = null ) : string |
Renders template and injects it to the layout file. |
|
setResolver ( Zend\View\Resolver\ResolverInterface $resolver ) : Layout |
Set the resolver used to map a template name to a resource the renderer may consume. |
|
url ( string $path = null ) : string |
Generates a fully qualified URL to the given path. |
|