ReStructured Text Infrastructurewiki.typo3.orgOfficial Documentation

Bug #11104

Add description of count_menuItems, count_HMENU_MENUOBJ and count_MENUOBJ

Added by Philipp Gampe over 2 years ago. Updated about 2 years ago.

Status:New Start date:2010-11-26
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

As Francois wrote in http://lists.typo3.org/pipermail/typo3-team-core/2010-November/046468.html:

HMENU provides three registers: count_menuItems, count_HMENU_MENUOBJ and 
count_MENUOBJ.

count_menuItems is meant to provide the number of items in the current menu.
count_HMENU_MENUOBJ is meant to provide the current number of a menu 
item with regards to the whole HMENU.
count_MENUOBJ does the same but for inside the current menu.

Related issues

related to TSref - Feature #11564: Add list of registers to the relevant TS objects New 2010-12-18

History

Updated by Francois Suter over 2 years ago

Absolutely. There are even more registers than this.

And in general, registers should be documented in the TSref.

Updated by Chris topher about 2 years ago

#25405 fixed how count_menuItems works. Relevant here?

Also available in: Atom PDF