TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject:
tslib_menu TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject tslib_gmenu tslib_imgmenu tslib_jsmenu tslib_tmenu

Public Member Functions

 start (&$tmpl, &$sys_page, $id, $conf, $menuNumber, $objSuffix='')
 
 filterMenuPages (&$data, $banUidArray, $spacer)
 
 procesItemStates ($splitCount)
 
 link ($key, $altTarget='', $typeOverride='')
 
 changeLinksForAccessRestrictedPages (&$LD, $page, $mainTarget, $typeOverride)
 
 subMenu ($uid, $objSuffix='')
 
 isNext ($uid, $MPvar='')
 
 isActive ($uid, $MPvar='')
 
 isCurrent ($uid, $MPvar='')
 
 isSubMenu ($uid)
 
 isItemState ($kind, $key)
 
 accessKey ($title)
 
 userProcess ($mConfKey, $passVar)
 
 setATagParts ()
 
 getPageTitle ($title, $nav_title)
 
 getMPvar ($key)
 
 getDoktypeExcludeWhere ()
 
 getBannedUids ()
 
 menuTypoLink ($page, $oTarget, $no_cache, $script, $overrideArray='', $addParams='', $typeOverride='')
 
 getSysPage ()
 
 getParentContentObject ()
 

Public Attributes

 $menuNumber = 1
 
 $entryLevel = 0
 
 $spacerIDList = '199'
 
 $doktypeExcludeList = '6'
 
 $alwaysActivePIDlist = array()
 
 $imgNamePrefix = 'img'
 
 $imgNameNotRandom = 0
 
 $debug = 0
 
 $parent_cObj
 
 $GMENU_fixKey = 'gmenu'
 
 $MP_array = array()
 
 $conf = array()
 
 $mconf = array()
 
 $tmpl
 
 $sys_page
 
 $id
 
 $nextActive
 
 $menuArr
 
 $hash
 
 $result = array()
 
 $rL_uidRegister = ''
 
 $INPfixMD5
 
 $I
 
 $WMresult
 
 $WMfreezePrefix
 
 $WMmenuItems
 
 $WMsubmenuObjSuffixes
 
 $WMextraScript
 
 $alternativeMenuTempArray = ''
 
 $nameAttribute = 'name'
 

Protected Member Functions

 removeInaccessiblePages (array $pages)
 
 determineOriginalShortcutPage (array $page)
 
 sectionIndex ($altSortField, $pid=NULL)
 
 getCache ()
 

Protected Attributes

 $useCacheHash = FALSE
 

Detailed Description

Generating navigation / menus from TypoScript

Base class. The HMENU content object uses this (or more precisely one of the extension classes). Among others the class generates an array of menuitems. Thereafter functions from the subclasses are called. The class is ALWAYS used through extension classes (like GraphicalMenuContentObject or TextMenuContentObject which are classics) and

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 30 of file AbstractMenuContentObject.php.

Member Function Documentation

◆ accessKey()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::accessKey (   $title)

Creates an access-key for a TMENU/GMENU menu item based on the menu item titles first letter

Parameters
string$titleMenu item title.
Returns
array Returns an array with keys "code" ("accesskey" attribute for the img-tag) and "alt" (text-addition to the "alt" attribute) if an access key was defined. Otherwise array was empty private
Todo:
Define visibility

Definition at line 1687 of file AbstractMenuContentObject.php.

References $GLOBALS, and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$result.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\writeMenu(), and TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\writeMenu().

◆ changeLinksForAccessRestrictedPages()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::changeLinksForAccessRestrictedPages ( $LD,
  $page,
  $mainTarget,
  $typeOverride 
)

Will change $LD (passed by reference) if the page is access restricted

Parameters
array$LDThe array from the linkData() function
array$pagePage array
string$mainTargetMain target value
string$typeOverrideType number override if any
Returns
void ($LD passed by reference might be changed.)
Todo:
Define visibility

Definition at line 1453 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject\generate(), TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\generate_level(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link().

◆ determineOriginalShortcutPage()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::determineOriginalShortcutPage ( array  $page)
protected

Determines original shortcut destination in page overlays.

Since the pages records used for menu rendering are overlaid by default, the original 'shortcut' value is lost, if a translation did not define one. The behaviour in TSFE can be compared to the 'mergeIfNotBlank' feature, but it's hardcoded there and not related to the mentioned setting at all.

Parameters
array$page
Returns
array
Todo:
Once the page_language_overlay behaviour was removed, this method can be removed again

Definition at line 1423 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link().

◆ filterMenuPages()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::filterMenuPages ( $data,
  $banUidArray,
  $spacer 
)

Checks if a page is OK to include in the final menu item array. Pages can be excluded if the doktype is wrong, if they are hidden in navigation, have a uid in the list of banned uids etc.

Parameters
array$dataArray of menu items
array$banUidArrayArray of page uids which are to be excluded
boolean$spacerIf set, then the page is a spacer.
Returns
boolean Returns TRUE if the page can be safely included.
Todo:
Define visibility

Definition at line 966 of file AbstractMenuContentObject.php.

References $GLOBALS, $uid, TYPO3\CMS\Core\Utility\GeneralUtility\getUserObj(), TYPO3\CMS\Core\Utility\GeneralUtility\hideIfDefaultLanguage(), TYPO3\CMS\Core\Utility\GeneralUtility\hideIfNotTranslated(), TYPO3\CMS\Core\Utility\GeneralUtility\inArray(), and TYPO3\CMS\Core\Utility\GeneralUtility\inList().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\removeInaccessiblePages(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\start().

◆ getBannedUids()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getBannedUids ( )

◆ getCache()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getCache ( )
protected

◆ getDoktypeExcludeWhere()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getDoktypeExcludeWhere ( )

Returns where clause part to exclude 'not in menu' pages

Returns
string where clause part. private
Todo:
Define visibility

Definition at line 1778 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\start().

◆ getMPvar()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getMPvar (   $key)

Return MPvar string for entry $key in ->menuArr

Parameters
integer$keyPointer to element in ->menuArr
Returns
string MP vars for element.
See also
link()
Todo:
Define visibility

Definition at line 1759 of file AbstractMenuContentObject.php.

References $GLOBALS, and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$MP_array.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isItemState(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link().

◆ getPageTitle()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getPageTitle (   $title,
  $nav_title 
)

Returns the title for the navigation

Parameters
string$titleThe current page title
string$nav_titleThe current value of the navigation title
Returns
string Returns the navigation title if it is NOT blank, otherwise the page title. private
Todo:
Define visibility

Definition at line 1747 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\writeMenu(), and TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\writeMenu().

◆ getParentContentObject()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getParentContentObject ( )

Returns the parent content object

Returns

Definition at line 1930 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$parent_cObj.

◆ getSysPage()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::getSysPage ( )

Returns the sys_page object

Returns

Definition at line 1921 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$sys_page.

◆ isActive()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isActive (   $uid,
  $MPvar = '' 
)

Returns TRUE if the page with UID $uid is active (in the current rootline)

Parameters
integer$uidPage uid to evaluate.
string$MPvarMPvar for the current position of item.
Returns
boolean TRUE if page with $uid is active private
Todo:
Define visibility

Definition at line 1557 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\generate_level(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isItemState(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link().

◆ isCurrent()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isCurrent (   $uid,
  $MPvar = '' 
)

Returns TRUE if the page with UID $uid is the CURRENT page (equals $GLOBALS['TSFE']->id)

Parameters
integer$uidPage uid to evaluate.
string$MPvarMPvar for the current position of item.
Returns
boolean TRUE if page $uid = $GLOBALS['TSFE']->id private
Todo:
Define visibility

Definition at line 1577 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isItemState().

◆ isItemState()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isItemState (   $kind,
  $key 
)

Used by procesItemStates() to evaluate if a menu item (identified by $key) is in a certain state.

Parameters
string$kindThe item state to evaluate (SPC, IFSUB, ACT etc... but no xxxRO states of course)
integer$keyKey pointing to menu item from ->menuArr
Returns
boolean True (integer!=0) if match, otherwise FALSE (=0, zero) private
See also
procesItemStates()
Todo:
Define visibility

Definition at line 1644 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getMPvar(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isActive(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isCurrent(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isSubMenu().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\procesItemStates().

◆ isNext()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isNext (   $uid,
  $MPvar = '' 
)

Returns TRUE if the page with UID $uid is the NEXT page in root line (which means a submenu should be drawn)

Parameters
integer$uidPage uid to evaluate.
string$MPvarMPvar for the current position of item.
Returns
boolean TRUE if page with $uid is active private
See also
subMenu()
Todo:
Define visibility

Definition at line 1537 of file AbstractMenuContentObject.php.

◆ isSubMenu()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::isSubMenu (   $uid)

Returns TRUE if there is a submenu with items for the page id, $uid Used by the item states "IFSUB", "ACTIFSUB" and "CURIFSUB" to check if there is a submenu

Parameters
integer$uidPage uid for which to search for a submenu
Returns
boolean Returns TRUE if there was a submenu with items found private
Todo:
Define visibility

Definition at line 1593 of file AbstractMenuContentObject.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\hideIfDefaultLanguage(), and TYPO3\CMS\Core\Utility\GeneralUtility\hideIfNotTranslated().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isItemState().

◆ link()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::link (   $key,
  $altTarget = '',
  $typeOverride = '' 
)

Creates the URL, target and onclick values for the menu item link. Returns them in an array as key/value pairs for -tag attributes This function doesn't care about the url, because if we let the url be redirected, it will be logged in the stat!!!

Parameters
integer$keyPointer to a key in the $this->menuArr array where the value for that key represents the menu item we are linking to (page record)
string$altTargetAlternative target
integer$typeOverrideAlternative type
Returns
array Returns an array with A-tag attributes as key/value pairs (HREF, TARGET and onClick) private
Todo:
Define visibility

Definition at line 1288 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$conf, $GLOBALS, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\changeLinksForAccessRestrictedPages(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\determineOriginalShortcutPage(), TYPO3\CMS\Frontend\Page\PageRepository\DOKTYPE_LINK, TYPO3\CMS\Frontend\Page\PageRepository\DOKTYPE_SHORTCUT, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getMPvar(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isActive(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\menuTypoLink(), TYPO3\CMS\Frontend\Page\PageRepository\SHORTCUT_MODE_RANDOM_SUBPAGE, and TYPO3\CMS\Core\Utility\GeneralUtility\validEmail().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\writeMenu(), and TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\writeMenu().

◆ menuTypoLink()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::menuTypoLink (   $page,
  $oTarget,
  $no_cache,
  $script,
  $overrideArray = '',
  $addParams = '',
  $typeOverride = '' 
)

Calls typolink to create menu item links.

Parameters
array$pagePage record (uid points where to link to)
string$oTargetTarget frame/window
boolean$no_cacheTRUE if caching should be disabled
string$scriptAlternative script name
array$overrideArrayArray to override values in $page
string$addParamsParameters to add to URL
array$typeOverride"type" value
Returns
array See linkData
Todo:
Define visibility

Definition at line 1815 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$conf, and TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject\generate(), TYPO3\CMS\Frontend\ContentObject\Menu\JavaScriptMenuContentObject\generate_level(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\link().

◆ procesItemStates()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::procesItemStates (   $splitCount)

Generating the per-menu-item configuration arrays based on the settings for item states (NO, RO, ACT, CUR etc) set in ->mconf (config for the current menu object) Basically it will produce an individual array for each menu item based on the item states. BUT in addition the "optionSplit" syntax for the values is ALSO evaluated here so that all property-values are "option-splitted" and the output will thus be resolved. Is called from the "generate" functions in the extension classes. The function is processor intensive due to the option split feature in particular. But since the generate function is not always called (since the ->result array may be cached, see makeMenu) it doesn't hurt so badly.

Parameters
integer$splitCountNumber of menu items in the menu
Returns
array An array with two keys: array($NOconf,$ROconf) - where $NOconf contains the resolved configuration for each item when NOT rolled-over and $ROconf contains the ditto for the mouseover state (if any) private
Todo:
Define visibility

Definition at line 1036 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\isItemState().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\generate(), TYPO3\CMS\Frontend\ContentObject\Menu\GraphicalMenuContentObject\generate(), and TYPO3\CMS\Frontend\ContentObject\Menu\ImageMenuContentObject\generate().

◆ removeInaccessiblePages()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::removeInaccessiblePages ( array  $pages)
protected

◆ sectionIndex()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::sectionIndex (   $altSortField,
  $pid = NULL 
)
protected

Generates a list of content objects with sectionIndex enabled available on a specific page

Used for menus with sectionIndex enabled

Parameters
string$altSortFieldAlternative sorting field
integer$pidThe page id to search for sections
Exceptions
UnexpectedValueExceptionif the query to fetch the content elements unexpectedly fails
Returns
array

Definition at line 1854 of file AbstractMenuContentObject.php.

References $GLOBALS, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$result, and $uid.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\start().

◆ setATagParts()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::setATagParts ( )

Creates the tag parts for the current item (in $this->I, [A1] and [A2]) based on other information in this array (like $this->I['linkHREF'])

Returns
void private
Todo:
Define visibility

Definition at line 1731 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\implodeAttributes().

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\writeMenu().

◆ start()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::start ( $tmpl,
$sys_page,
  $id,
  $conf,
  $menuNumber,
  $objSuffix = '' 
)

The initialization of the object. This just sets some internal variables.

Parameters
object$tmplThe $GLOBALS['TSFE']->tmpl object
object$sys_pageThe $GLOBALS['TSFE']->sys_page object
integer$idA starting point page id. This should probably be blank since the 'entryLevel' value will be used then.
array$confThe TypoScript configuration for the HMENU cObject
integer$menuNumberMenu number; 1,2,3. Should probably be '1'
string$objSuffixSubmenu Object suffix. This offers submenus a way to use alternative configuration for specific positions in the menu; By default "1 = TMENU" would use "1." for the TMENU configuration, but if this string is set to eg. "a" then "1a." would be used for configuration instead (while "1 = " is still used for the overall object definition of "TMENU")
Returns
boolean Returns TRUE on success
See also
::HMENU()
Todo:
Define visibility

Definition at line 228 of file AbstractMenuContentObject.php.

References TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$alternativeMenuTempArray, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$conf, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$entryLevel, $GLOBALS, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$id, $languageItems, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$menuNumber, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$MP_array, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$nextActive, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$sys_page, TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\$tmpl, TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), debug(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\filterMenuPages(), TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getBannedUids(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getCache(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\getDoktypeExcludeWhere(), TYPO3\CMS\Core\Utility\GeneralUtility\hideIfDefaultLanguage(), TYPO3\CMS\Core\Utility\GeneralUtility\hideIfNotTranslated(), if, TYPO3\CMS\Core\Utility\GeneralUtility\inList(), TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\removeInaccessiblePages(), TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\sectionIndex(), and TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\userProcess().

◆ subMenu()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::subMenu (   $uid,
  $objSuffix = '' 
)

Creates a submenu level to the current level - if configured for.

Parameters
integer$uidPage id of the current page for which a submenu MAY be produced (if conditions are met)
string$objSuffixObject prefix, see ->start()
Returns
string HTML content of the submenu private
Todo:
Define visibility

Definition at line 1481 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\extProc_afterLinking().

◆ userProcess()

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::userProcess (   $mConfKey,
  $passVar 
)

Calls a user function for processing of internal data. Used for the properties "IProcFunc" and "itemArrayProcFunc"

Parameters
string$mConfKeyKey pointing for the property in the current ->mconf array holding possibly parameters to pass along to the function/method. Currently the keys used are "IProcFunc" and "itemArrayProcFunc".
mixed$passVarA variable to pass to the user function and which should be returned again from the user function. The idea is that the user function modifies this variable according to what you want to achieve and then returns it. For "itemArrayProcFunc" this variable is $this->menuArr, for "IProcFunc" it is $this->I
Returns
mixed The processed $passVar private
Todo:
Define visibility

Definition at line 1715 of file AbstractMenuContentObject.php.

Referenced by TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject\start(), and TYPO3\CMS\Frontend\ContentObject\Menu\TextMenuContentObject\writeMenu().

Member Data Documentation

◆ $alternativeMenuTempArray

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$alternativeMenuTempArray = ''

◆ $alwaysActivePIDlist

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$alwaysActivePIDlist = array()
Todo:
Define visibility

Definition at line 59 of file AbstractMenuContentObject.php.

◆ $conf

◆ $debug

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$debug = 0
Todo:
Define visibility

Definition at line 74 of file AbstractMenuContentObject.php.

◆ $doktypeExcludeList

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$doktypeExcludeList = '6'
Todo:
Define visibility

Definition at line 54 of file AbstractMenuContentObject.php.

◆ $entryLevel

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$entryLevel = 0

◆ $GMENU_fixKey

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$GMENU_fixKey = 'gmenu'
Todo:
Define visibility

Definition at line 87 of file AbstractMenuContentObject.php.

◆ $hash

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$hash
Todo:
Define visibility

Definition at line 146 of file AbstractMenuContentObject.php.

◆ $I

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$I
Todo:
Define visibility

Definition at line 168 of file AbstractMenuContentObject.php.

◆ $id

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$id

◆ $imgNameNotRandom

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$imgNameNotRandom = 0
Todo:
Define visibility

Definition at line 69 of file AbstractMenuContentObject.php.

◆ $imgNamePrefix

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$imgNamePrefix = 'img'
Todo:
Define visibility

Definition at line 64 of file AbstractMenuContentObject.php.

◆ $INPfixMD5

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$INPfixMD5

◆ $mconf

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$mconf = array()
Todo:
Define visibility

Definition at line 106 of file AbstractMenuContentObject.php.

◆ $menuArr

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$menuArr
Todo:
Define visibility

Definition at line 141 of file AbstractMenuContentObject.php.

◆ $menuNumber

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$menuNumber = 1

◆ $MP_array

◆ $nameAttribute

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$nameAttribute = 'name'
Todo:
Define visibility

Definition at line 205 of file AbstractMenuContentObject.php.

◆ $nextActive

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$nextActive

◆ $parent_cObj

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$parent_cObj

◆ $result

◆ $rL_uidRegister

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$rL_uidRegister = ''
Todo:
Define visibility

Definition at line 158 of file AbstractMenuContentObject.php.

◆ $spacerIDList

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$spacerIDList = '199'
Todo:
Define visibility

Definition at line 48 of file AbstractMenuContentObject.php.

◆ $sys_page

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$sys_page

◆ $tmpl

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$tmpl

◆ $useCacheHash

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$useCacheHash = FALSE
protected

Definition at line 213 of file AbstractMenuContentObject.php.

◆ $WMextraScript

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$WMextraScript

◆ $WMfreezePrefix

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$WMfreezePrefix
Todo:
Define visibility

Definition at line 178 of file AbstractMenuContentObject.php.

◆ $WMmenuItems

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$WMmenuItems

◆ $WMresult

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$WMresult
Todo:
Define visibility

Definition at line 173 of file AbstractMenuContentObject.php.

◆ $WMsubmenuObjSuffixes

TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject::$WMsubmenuObjSuffixes
Todo:
Define visibility

Definition at line 188 of file AbstractMenuContentObject.php.