Property | Type | Description | |
---|---|---|---|
$controllerContext | |||
$options | array | The configuration options of this view | |
$supportedOptions | array | Syntax example: [ 'someOptionName' => ['defaultValue', 'some description', 'string'), 'someOtherOptionName' => ['defaultValue', some description', integer), ... ) |
Method | Description | |
---|---|---|
__construct ( array $options = null ) | Set default options based on the supportedOptions provided | |
canRender ( |
||
createWithOptions ( array $options ) : |
Factory method to create an instance with given options. | |
getOption ( string $optionName ) : mixed | Get a specific option of this View | |
renderSection ( string $sectionName, array $variables = [], boolean $ignoreUnknown = false ) : string | Renders a given section. | |
setControllerContext ( |
||
setOption ( string $optionName, mixed $value ) : void | Set a specific option of this View | |
setTemplatePathAndFilename ( string $templatePathAndFilename ) |
Method | Description | |
---|---|---|
renderStandaloneSection ( string $sectionName, array $variables = [], boolean $ignoreUnknown = false ) : string | Renders a section on its own, i.e. without the a surrounding template. | |
setOptions ( array $options ) | Merges the given options with the default values and sets the resulting options in this object. | |
validateOptions ( array $options ) | Validate options given to this view. |
public __construct ( array $options = null ) | ||
$options | array |
public static createWithOptions ( array $options ) : |
||
$options | array | |
return |
public renderSection ( string $sectionName, array $variables = [], boolean $ignoreUnknown = false ) : string | ||
$sectionName | string | Name of section to render |
$variables | array | The variables to use |
$ignoreUnknown | boolean | Ignore an unknown section and just return an empty string |
return | string | rendered template for the section |
protected renderStandaloneSection ( string $sectionName, array $variables = [], boolean $ignoreUnknown = false ) : string | ||
$sectionName | string | Name of section to render |
$variables | array | The variables to use |
$ignoreUnknown | boolean | Ignore an unknown section and just return an empty string |
return | string | rendered template for the section |
public setControllerContext ( |
||
$controllerContext |
protected setOptions ( array $options ) | ||
$options | array |
public setTemplatePathAndFilename ( string $templatePathAndFilename ) | ||
$templatePathAndFilename | string |
protected validateOptions ( array $options ) | ||
$options | array |
protected ControllerContext,Neos\Flow\Mvc\Controller $controllerContext | ||
return |
protected array $options | ||
return | array |
protected array $supportedOptions | ||
return | array |