![]() |
TYPO3
7.6
|
Public Member Functions | |
generate () | |
writeMenu () | |
getBeforeAfter ($pref) | |
extProc_init () | |
extProc_beforeLinking ($key) | |
extProc_afterLinking ($key) | |
extProc_beforeAllWrap ($item, $key) | |
extProc_finish () | |
![]() | |
start ($tmpl, $sys_page, $id, $conf, $menuNumber, $objSuffix= '') | |
makeMenu () | |
generate () | |
writeMenu () | |
filterMenuPages (&$data, $banUidArray, $spacer) | |
procesItemStates ($splitCount) | |
link ($key, $altTarget= '', $typeOverride= '') | |
changeLinksForAccessRestrictedPages (&$LD, $page, $mainTarget, $typeOverride) | |
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 () | |
Extension class creating text based menus
Definition at line 21 of file TextMenuContentObject.php.
extProc_afterLinking | ( | $key | ) |
Called right after the creation of links for the menu item. This is also the last function call before the while-loop traversing menu items goes to the next item. This function MUST set $this->WMresult.=[HTML for menu item] to add the generated menu item to the internal accumulation of items.
int | $key | Pointer to $this->menuArr[$key] where the current menu element record is found |
Definition at line 235 of file TextMenuContentObject.php.
Referenced by TextMenuContentObject\writeMenu().
extProc_beforeAllWrap | ( | $item, | |
$key | |||
) |
Called before the "allWrap" happens on the menu item.
string | $item | The current content of the menu item, $this->I['theItem'], passed along. |
int | $key | Pointer to $this->menuArr[$key] where the current menu element record is found |
Definition at line 254 of file TextMenuContentObject.php.
Referenced by TextMenuContentObject\writeMenu().
extProc_beforeLinking | ( | $key | ) |
Called right before the creation of the link for the menu item
int | $key | Pointer to $this->menuArr[$key] where the current menu element record is found |
Definition at line 222 of file TextMenuContentObject.php.
Referenced by TextMenuContentObject\writeMenu().
extProc_finish | ( | ) |
Called before the writeMenu() function returns (only if a menu was generated)
Definition at line 266 of file TextMenuContentObject.php.
References AbstractMenuContentObject\$WMextraScript.
Referenced by TextMenuContentObject\writeMenu().
extProc_init | ( | ) |
Called right before the traversing of $this->result begins. Can be used for various initialization
Definition at line 210 of file TextMenuContentObject.php.
Referenced by TextMenuContentObject\writeMenu().
generate | ( | ) |
Calls procesItemStates() so that the common configuration for the menu items are resolved into individual configuration per item. Sets the result for the new "normal state" in $this->result
Definition at line 30 of file TextMenuContentObject.php.
References debug(), and AbstractMenuContentObject\procesItemStates().
getBeforeAfter | ( | $pref | ) |
Generates the before* and after* images for TMENUs
string | $pref | Can be "before" or "after" and determines which kind of image to create (basically this is the prefix of the TypoScript properties that are read from the ->I['val'] array |
Definition at line 177 of file TextMenuContentObject.php.
References $GLOBALS.
Referenced by TextMenuContentObject\writeMenu().
writeMenu | ( | ) |
Traverses the ->result array of menu items configuration (made by ->generate()) and renders each item. During the execution of this function many internal methods prefixed "extProc_" from this class is called and many of these are for now dummy functions. But they can be used for processing as they are used by the TMENU_LAYERS An instance of ContentObjectRenderer is also made and for each menu item rendered it is loaded with the record for that page so that any stdWrap properties that applies will have the current menu items record available.
Definition at line 53 of file TextMenuContentObject.php.
References $GLOBALS, AbstractMenuContentObject\$INPfixMD5, AbstractMenuContentObject\accessKey(), TextMenuContentObject\extProc_afterLinking(), TextMenuContentObject\extProc_beforeAllWrap(), TextMenuContentObject\extProc_beforeLinking(), TextMenuContentObject\extProc_finish(), TextMenuContentObject\extProc_init(), TextMenuContentObject\getBeforeAfter(), AbstractMenuContentObject\getPageTitle(), AbstractMenuContentObject\link(), AbstractMenuContentObject\setATagParts(), and AbstractMenuContentObject\userProcess().