Attention

TYPO3 v7 has reached its end-of-life November 30th, 2018 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.

There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.

TMENU

Property

expAll

Data type

boolean /stdWrap

Description

If this is true, the menu will always show the menu on the level underneath the menu item. This corresponds to a situation where a user has clicked a menu item and the menu folds out the next level. This can enable that to happen on all items as default.

Property

collapse

Data type

boolean

Description

If set, "active" menu items that has expanded the next level on the menu will now collapse that menu again.

Property

accessKey

Data type

boolean

Description

If set access-keys are set on the menu-links

Property

target

Data type

target

Description

Target of the menu links

Default

self

Property

forceTypeValue

Data type

integer

Description

If set, the &type parameter of the link is forced to this value regardless of target.

Property

stdWrap

Data type

->stdWrap

Description

Wraps the whole item using stdWrap

Example: see GMENU.stdWrap

Property

wrap

Data type

wrap

Description

Wraps only if there were items in the menu!

Property

IProcFunc

Data type

function name

Description

The internal array "I" is passed to this function and expected returned as well. Subsequent to this function call the menu item is compiled by implode()'ing the array $I[parts] in the passed array. Thus you may modify this if you need to.

See example in the extension statictemplates (statictemplates/media/scripts/example_itemArrayProcFunc.php).

Property

[Common Item States, see above]

Data type

->TMENUITEM

Description

This is the TMENUITEM-options for each category of menu item that can be generated.

Special:

The ->OptionSplit function is run on the whole configuration before the items are generated.

[tsref:(cObject).HMENU.(mObj).TMENU]