Class TemplateRenderer
Renders through a template script or callback method
Enanches the abstract renderer with the wiget factory interface.
- Nethgui\Renderer\ReadonlyView implements Nethgui\View\ViewInterface, Nethgui\Log\LogConsumerInterface
- Nethgui\Renderer\AbstractRenderer
- Nethgui\Renderer\TemplateRenderer implements Nethgui\Utility\PhpConsumerInterface, Nethgui\Module\ModuleAttributesInterface, Nethgui\Component\DependencyConsumer
Direct known subclasses
Nethgui\Renderer\Xhtml
Namespace: Nethgui\Renderer
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Renderer/TemplateRenderer.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Renderer/TemplateRenderer.php
public
|
#
__construct(
|
public
|
#
spawnRenderer(
Crete a new instance of the Renderer, bound to the given $view |
protected
|
|
public
string
|
|
protected
string
|
#
renderView( string|callable $template, array $viewState )
Renders a view passing $viewState as view parameters. |
public
|
|
public
string
|
|
public
string
|
|
public
string|array
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
array
|
#
getDependencySetters( )
The returned hash is indexed by the model class name and has a callable objects as value. Each callable is invoked with the model instance as only argument. |
hashToDatasource()
|
TARGET_JSON,
TARGET_XHTML
|
protected
|
$phpWrapper
|
|
protected
|
$httpResponse
|
$view
|