TMENU

ノート

TMENU is a menu object type.

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, the "active" menu item 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

Default

self

Description

Target of the menu links

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 block of sub items.

Example: see GMENU.stdWrap

Property

wrap

Data type

wrap

Description

Wraps the whole block of sub items, but 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]