프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
__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 | |
리턴 |
public getLayoutRootPaths ( ) : string | ||
리턴 | string | Fluid layout root path |
public getPartialRootPaths ( ) : string | ||
리턴 | string | Fluid partial root path |
public getRequest ( ) : Neos\Flow\Mvc\RequestInterface | ||
리턴 | Neos\Flow\Mvc\RequestInterface |
public getTemplatePathAndFilename ( ) : string | ||
리턴 | string | Fluid template path |
public hasTemplate ( ) : boolean | ||
리턴 | boolean |
public initializeObject ( ) : void | ||
리턴 | void |
public setLayoutRootPath ( string $layoutRootPath ) : void | ||
$layoutRootPath | string | Fluid layout root path |
리턴 | void |
public setLayoutRootPaths ( array $layoutRootPaths ) : void | ||
$layoutRootPaths | array | Root path to the layouts |
리턴 | void |
public setPartialRootPath ( string $partialRootPath ) : void | ||
$partialRootPath | string | Fluid partial root path |
리턴 | void |
public setPartialRootPaths ( array $partialRootPaths ) : void | ||
$partialRootPaths | array | Root paths to the partials. If set, overrides the one determined from $this->partialRootPathPattern |
리턴 | void |
public setTemplatePathAndFilename ( string $templatePathAndFilename ) : void | ||
$templatePathAndFilename | string | Fluid template path |
리턴 | void |
public setTemplateRootPaths ( array $templateRootPaths ) : void | ||
$templateRootPaths | array | Root paths to the templates. |
리턴 | void |
public setTemplateSource ( string $templateSource ) : void | ||
$templateSource | string | Fluid template source code |
리턴 | void |
protected Environment,Neos\Flow\Utility $environment | ||
리턴 |
protected FlashMessageContainer,Neos\Flow\Mvc $flashMessageContainer | ||
리턴 |
protected string $layoutRootPath | ||
리턴 | string |
protected string $partialRootPath | ||
리턴 | string |
protected string $templatePathAndFilename | ||
리턴 | string |
protected string $templateSource | ||
리턴 | string |