프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fallbackView | Neos\Flow\Mvc\View\ViewInterface | ||
$fallbackViewEnabled | boolean | if FALSE, the fallback view will never be used. | |
$parsedTypoScript | array | The parsed TypoScript array in its internal representation | |
$supportedOptions | array | This contains the supported options, their default values, descriptions and types. | |
$typoScriptParser | |||
$typoScriptPath | string | Runtime cache of the TypoScript path which should be rendered; derived from the controller and action names or set by the user. | |
$typoScriptRuntime | The TypoScript Runtime |
메소드 | 설명 | |
---|---|---|
disableFallbackView ( ) : void | Disable the use of the Fallback View | |
enableFallbackView ( ) : void | Re-Enable the use of the Fallback View. By default, it is enabled, so calling this method only makes sense if disableFallbackView() has been called before. | |
initializeTypoScriptRuntime ( ) : void | Load the TypoScript Files form the defined paths and construct a Runtime from the parsed results | |
render ( ) : string | Render the view | |
renderFallbackView ( ) : string | Initialize and render the fallback view | |
setOption ( string $optionName, mixed $value ) : void | Reset runtime cache if an option is changed | |
setPackageKey ( string $packageKey ) : void | The package key where the TypoScript should be loaded from. If not given, is automatically derived from the current request. | |
setTypoScriptPath ( string $typoScriptPath ) : void | Sets the TypoScript path to be rendered to an explicit value; to be used mostly inside tests. | |
setTypoScriptPathPattern ( string $pathPattern ) : void | ||
setTypoScriptPathPatterns ( array $pathPatterns ) : void |
메소드 | 설명 | |
---|---|---|
getPackageKey ( ) : string | Get the package key to load the TypoScript from. If set, $this->getOption('packageKey') is used. | |
getTypoScriptPathForCurrentRequest ( ) : string | Determines the TypoScript path depending on the current controller and action | |
isTypoScriptFoundForCurrentRequest ( ) : boolean | Determine whether we are able to find TypoScript at the requested position | |
loadTypoScript ( ) : void | Load TypoScript from the directories specified by $this->getOption('typoScriptPathPatterns') | |
renderTypoScript ( ) : string | Render the given TypoScript and return the rendered page |
public disableFallbackView ( ) : void | ||
리턴 | void |
public enableFallbackView ( ) : void | ||
리턴 | void |
protected getPackageKey ( ) : string | ||
리턴 | string | the package key to load TypoScript from |
protected getTypoScriptPathForCurrentRequest ( ) : string | ||
리턴 | string |
public initializeTypoScriptRuntime ( ) : void | ||
리턴 | void |
protected isTypoScriptFoundForCurrentRequest ( ) : boolean | ||
리턴 | boolean | TRUE if TypoScript exists at the current TypoScript path; FALSE otherwise |
protected loadTypoScript ( ) : void | ||
리턴 | void |
public renderFallbackView ( ) : string | ||
리턴 | string |
protected renderTypoScript ( ) : string | ||
리턴 | string |
public setPackageKey ( string $packageKey ) : void | ||
$packageKey | string | |
리턴 | void |
public setTypoScriptPath ( string $typoScriptPath ) : void | ||
$typoScriptPath | string | |
리턴 | void |
public setTypoScriptPathPattern ( string $pathPattern ) : void | ||
$pathPattern | string | |
리턴 | void |
public setTypoScriptPathPatterns ( array $pathPatterns ) : void | ||
$pathPatterns | array | |
리턴 | void |
protected ViewInterface,Neos\Flow\Mvc\View $fallbackView | ||
리턴 | Neos\Flow\Mvc\View\ViewInterface |
protected bool $fallbackViewEnabled | ||
리턴 | boolean |
protected array $parsedTypoScript | ||
리턴 | array |
protected array $supportedOptions | ||
리턴 | array |
protected Parser,Neos\Fusion\Core $typoScriptParser | ||
리턴 |
protected string $typoScriptPath | ||
리턴 | string |