TYPO3
7.6
|
Protected Attributes | |
$tagName = 'select' | |
$childNodes = array() | |
Protected Attributes inherited from AbstractTagBasedViewHelper | |
$tag = null | |
$tagName = 'div' | |
Protected Attributes inherited from AbstractViewHelper | |
$arguments | |
$templateVariableContainer | |
$controllerContext | |
$renderingContext | |
$renderChildrenClosure = null | |
$viewHelperVariableContainer | |
$objectManager | |
$escapingInterceptorEnabled = true | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractViewHelper | |
static | renderStatic (array $arguments,\Closure $renderChildrenClosure,\TYPO3\CMS\Fluid\Core\Rendering\RenderingContextInterface $renderingContext) |
Protected Member Functions inherited from AbstractTagBasedViewHelper | |
registerTagAttribute ($name, $type, $description, $required=false, $default=null) | |
registerUniversalTagAttributes () | |
View helper which returns a select box, that can be used to switch between multiple actions and controllers and looks similar to TYPO3s funcMenu. Note: This view helper is experimental!
= Examples =
<f:be.menus.actionMenu> <f:be.menus.actionMenuItem label="Overview" controller="Blog" action="index" /> <f:be.menus.actionMenuItem label="Create new Blog" controller="Blog" action="new" /> <f:be.menus.actionMenuItem label="List Posts" controller="Post" action="index" arguments="{blog: blog}" /> </f:be.menus.actionMenu>
<output> Selectbox with the options "Overview", "Create new Blog" and "List Posts" </output>
<f:be.menus.actionMenu> <f:be.menus.actionMenuItem label="{f:translate(key:'overview')}" controller="Blog" action="index" /> <f:be.menus.actionMenuItem label="{f:translate(key:'create_blog')}" controller="Blog" action="new" /> </f:be.menus.actionMenu>
<output> localized selectbox <output>
Definition at line 51 of file ActionMenuViewHelper.php.
render | ( | $defaultController = null | ) |
Render FunctionMenu
string | $defaultController |
Definition at line 83 of file ActionMenuViewHelper.php.
setChildNodes | ( | array | $childNodes | ) |
Setter for ChildNodes - as defined in ChildNodeAccessInterface
array | $childNodes | Child nodes of this syntax tree node |
Implements ChildNodeAccessInterface.
Definition at line 72 of file ActionMenuViewHelper.php.
References ActionMenuViewHelper\$childNodes.
|
protected |
Definition at line 63 of file ActionMenuViewHelper.php.
Referenced by ActionMenuViewHelper\setChildNodes().
|
protected |
Definition at line 56 of file ActionMenuViewHelper.php.