Interface EngineInterface
Engines are the actual template renderers for the views.
Methods summary
public
string
|
#
loadTemplate( string $templateIdent )
Load a template (from identifier).
Load a template (from identifier).
Parameters
- $templateIdent
- The template identifier to load.
Returns
string
|
public
string
|
#
render( string $templateIdent, mixed $context )
Load a template (from identifier) and render it.
Load a template (from identifier) and render it.
Parameters
- $templateIdent
- The template identifier to load and render.
- $context
- The rendering context.
Returns
string The rendered template string.
|
public
string
|
#
renderTemplate( string $templateString, mixed $context )
Render a template (from string).
Render a template (from string).
Parameters
- $templateString
- The template string to render.
- $context
- The rendering context.
Returns
string The rendered template string.
|