This is being shown in case you have the Administrator role (aka role) defined in the
current package according to the controllerContext
This is being shown in case you have the Acme.MyPackage:Administrator role (aka role).
This is being shown in case you have the Acme.MyPackage:Administrator role (aka role).
Everything inside the
This is being shown in case you have the role.
This is being displayed in case you do not have the role.
Everything inside the "then" tag is displayed if you have the role.
Otherwise, everything inside the "else"-tag is displayed.
This is being shown in case you have the specified role
This is being shown in case "otherAccount" has the Acme.MyPackage:Administrator role (aka role).
ファイルを表示
Open project: neos/flow-development-collection
Class Usage Examples
Method | Description | |
---|---|---|
initializeArguments ( ) | Initializes the "then" and "else" arguments | |
render ( ) : string |
renders |
Method | Description | |
---|---|---|
evaluateCondition ( null $arguments = null, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : boolean |
protected static evaluateCondition ( null $arguments = null, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : boolean | ||
$arguments | null | |
$renderingContext | TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface | |
return | boolean |
public initializeArguments ( ) |