class BlockRenderExtension extends Twig_Extension (View source)

Extension that allow render inner page part calling directly their controller response instead of doing a simple include.

Properties

protected $container
protected $kernel

Methods

__construct(Container $container)

No description

getName()

No description

getFilters()

No description

string
blockRender(NodesSources $nodeSource = null, string $themeName = "DefaultTheme", array $assignation = [])

No description

Details

__construct(Container $container)

Parameters

Container $container

getName()

getFilters()

string blockRender(NodesSources $nodeSource = null, string $themeName = "DefaultTheme", array $assignation = [])

Parameters

NodesSources $nodeSource
string $themeName
array $assignation

Return Value

string

Exceptions

Twig_Error_Runtime