ActionMenuItemViewHelper extends AbstractTagBasedViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <f:be.menus.actionmenuitem>
FinalYes
ViewHelper which returns an option tag within a `<f:be.menus.actionMenu>` group.
<f:be.menus.actionMenu>
<f:be.menus.actionMenuItem label="First Menu" controller="Default" action="index" />
<f:be.menus.actionMenuItemGroup label="Information">
<f:be.menus.actionMenuItem label="PHP Information" controller="Information" action="listPhpInfo" />
<f:be.menus.actionMenuItem label="{f:translate(key:'documentation')}" controller="Information" action="documentation" />
...
</f:be.menus.actionMenuItemGroup>
</f:be.menus.actionMenu>
Note: This ViewHelper is experimental and tailored to be used only in extbase context.
Tags
Table of Contents
Properties
- $tagName : string
Methods
- initializeArguments() : void
- render() : string
- evaluateSelectItemState() : void
Properties
$tagName
protected
string
$tagName
= 'option'
Methods
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string
Return values
stringevaluateSelectItemState()
protected
evaluateSelectItemState(string $controller, string $action, array<string|int, mixed> $arguments) : void
Parameters
- $controller : string
- $action : string
- $arguments : array<string|int, mixed>