Documentation · ViewHelper reference

Be / Menus / ActionMenuItemGroupViewHelper


View helper which groups options of an option tag.

Example

<f:be.menus.actionMenu> <f:be.menus.actionMenuItem label="Default: Welcome" controller="Default" action="index" /> <f:be.menus.actionMenuItem label="Community: get in touch" controller="Community" action="index" /> <f:be.menus.actionMenuItemGroup label="Information"> <f:be.menus.actionMenuItem label="PHP Information" controller="Information" action="listPhpInfo" /> <f:be.menus.actionMenuItem label="Documentation" controller="Information" action="documentation" /> <f:be.menus.actionMenuItem label="Hooks" controller="Information" action="hooks" /> <f:be.menus.actionMenuItem label="Signals" controller="Information" action="signals" /> <f:be.menus.actionMenuItem label="XClasses" controller="Information" action="xclass" /> </f:be.menus.actionMenuItemGroup> </f:be.menus.actionMenu> /
  • Tag usage example

    <f:be.menus.actionMenuItemGroup additionalAttributes="{foo: 'bar'}" data="{foo: 'bar'}" label="''">
    	<!-- tag content - may be ignored! -->
    </f:be.menus.actionMenuItemGroup>
  • Inline usage example

    {f:be.menus.actionMenuItemGroup(additionalAttributes: {foo: 'bar'}, data: {foo: 'bar'}, label: '''')}

Arguments

Argument Description Type
additionalAttributes

Additional tag attributes. They will be added directly to the resulting HTML tag.

array
data

Additional data-* attributes. They will each be added with a "data-" prefix.

array
label string
Required attribute

Revision history