Method | Description | |
---|---|---|
getAttributes ( $attributes, Sulu\Component\Content\Compat\StructureInterface $structure = null, $preview = false ) | Generates attributes. | |
renderBlock ( $template, $block, $attributes = [] ) | Returns rendered part of template specified by block. | |
renderStructure ( Sulu\Component\Content\Compat\StructureInterface $structure, array $attributes = [], boolean $preview = false, boolean $partial = false ) : |
Returns a rendered structure. |
protected getAttributes ( $attributes, Sulu\Component\Content\Compat\StructureInterface $structure = null, $preview = false ) | ||
$structure | Sulu\Component\Content\Compat\StructureInterface |
protected renderBlock ( $template, $block, $attributes = [] ) |
protected renderStructure ( Sulu\Component\Content\Compat\StructureInterface $structure, array $attributes = [], boolean $preview = false, boolean $partial = false ) : |
||
$structure | Sulu\Component\Content\Compat\StructureInterface | The structure, which has been loaded for rendering |
$attributes | array | Additional attributes, which will be passed to twig |
$preview | boolean | Defines if the site is rendered in preview mode |
$partial | boolean | Defines if only the content block of the template should be rendered |
return |