Property | Type | Description | |
---|---|---|---|
$environment | |||
$flashMessageContainer | |||
$layoutRootPath | string | absolute root path of the folder that contains Fluid layouts | |
$partialRootPath | string | absolute root path of the folder that contains Fluid partials | |
$request | |||
$templatePathAndFilename | string | absolute path of the Fluid template | |
$templateSource | string | Source code of the Fluid template |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
createWithOptions ( array $options ) : |
Factory method to create an instance with given options. | |
getFormat ( ) : string | Returns the format of the current request (defaults is "html") | |
getLayoutRootPaths ( ) : string | Resolves the layout root to be used inside other paths. | |
getPartialRootPaths ( ) : string | Returns the absolute path to the folder that contains Fluid partial files | |
getRequest ( ) : Neos\Flow\Mvc\RequestInterface | Returns the current request object | |
getTemplatePathAndFilename ( ) : string | Returns the absolute path to a Fluid template file if it was specified with setTemplatePathAndFilename() before | |
hasTemplate ( ) : boolean | Checks whether a template can be resolved for the current request | |
initializeObject ( ) : void | Initiates the StandaloneView by creating the required ControllerContext | |
setFormat ( string $format ) : void | Sets the format of the current request (default format is "html") | |
setLayoutRootPath ( string $layoutRootPath ) : void | Sets the absolute path to the folder that contains Fluid layout files | |
setLayoutRootPaths ( array $layoutRootPaths ) : void | Set the root path(s) to the layouts. | |
setPartialRootPath ( string $partialRootPath ) : void | Sets the absolute path to the folder that contains Fluid partial files. | |
setPartialRootPaths ( array $partialRootPaths ) : void | Set the root path(s) to the partials. | |
setTemplate ( string $templateName ) | ||
setTemplatePathAndFilename ( string $templatePathAndFilename ) : void | Sets the absolute path to a Fluid template file | |
setTemplateRootPaths ( array $templateRootPaths ) : void | Set the root path(s) to the templates. | |
setTemplateSource ( string $templateSource ) : void | Sets the Fluid template source You can use setTemplatePathAndFilename() alternatively if you only want to specify the template path |
public __construct ( |
||
$request | The current action request. If none is specified it will be created from the environment. | |
$options | array |
public static createWithOptions ( array $options ) : |
||
$options | array | |
return |
public getLayoutRootPaths ( ) : string | ||
return | string | Fluid layout root path |
public getPartialRootPaths ( ) : string | ||
return | string | Fluid partial root path |
public getRequest ( ) : Neos\Flow\Mvc\RequestInterface | ||
return | Neos\Flow\Mvc\RequestInterface |
public getTemplatePathAndFilename ( ) : string | ||
return | string | Fluid template path |
public hasTemplate ( ) : boolean | ||
return | boolean |
public initializeObject ( ) : void | ||
return | void |
public setLayoutRootPath ( string $layoutRootPath ) : void | ||
$layoutRootPath | string | Fluid layout root path |
return | void |
public setLayoutRootPaths ( array $layoutRootPaths ) : void | ||
$layoutRootPaths | array | Root path to the layouts |
return | void |
public setPartialRootPath ( string $partialRootPath ) : void | ||
$partialRootPath | string | Fluid partial root path |
return | void |
public setPartialRootPaths ( array $partialRootPaths ) : void | ||
$partialRootPaths | array | Root paths to the partials. If set, overrides the one determined from $this->partialRootPathPattern |
return | void |
public setTemplatePathAndFilename ( string $templatePathAndFilename ) : void | ||
$templatePathAndFilename | string | Fluid template path |
return | void |
public setTemplateRootPaths ( array $templateRootPaths ) : void | ||
$templateRootPaths | array | Root paths to the templates. |
return | void |
public setTemplateSource ( string $templateSource ) : void | ||
$templateSource | string | Fluid template source code |
return | void |
protected Environment,Neos\Flow\Utility $environment | ||
return |
protected FlashMessageContainer,Neos\Flow\Mvc $flashMessageContainer | ||
return |
protected string $layoutRootPath | ||
return | string |
protected string $partialRootPath | ||
return | string |
protected ActionRequest,Neos\Flow\Mvc $request | ||
return |
protected string $templatePathAndFilename | ||
return | string |
protected string $templateSource | ||
return | string |