Documentation TYPO3 par Ameos |
Public Member Functions | |
generate () | |
writeMenu () | |
getBeforeAfter ($pref) | |
addJScolorShiftFunction () | |
extProc_init () | |
extProc_RO ($key) | |
extProc_beforeLinking ($key) | |
extProc_afterLinking ($key) | |
extProc_beforeAllWrap ($item, $key) | |
extProc_finish () |
Definition at line 1538 of file class.tslib_menu.php.
tslib_tmenu::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 1547 of file class.tslib_menu.php.
References tslib_menu::procesItemStates().
tslib_tmenu::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 tslib_cObj 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 1563 of file class.tslib_menu.php.
References tslib_menu::accessKey(), addJScolorShiftFunction(), extProc_afterLinking(), extProc_beforeAllWrap(), extProc_beforeLinking(), extProc_finish(), extProc_init(), extProc_RO(), getBeforeAfter(), tslib_menu::getPageTitle(), tslib_menu::link(), t3lib_div::makeInstance(), tslib_menu::setATagParts(), t3lib_div::trimExplode(), and tslib_menu::userProcess().
tslib_tmenu::getBeforeAfter | ( | $ | pref | ) |
Generates the before* and after* images for TMENUs
string | 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 1716 of file class.tslib_menu.php.
References tslib_cObj::getBorderAttr(), and t3lib_div::png_to_gif_by_imagemagick().
Referenced by writeMenu().
tslib_tmenu::addJScolorShiftFunction | ( | ) |
Adds a JavaScript function to the $GLOBALS['TSFE']->additionalJavaScript array
Definition at line 1746 of file class.tslib_menu.php.
Referenced by writeMenu().
tslib_tmenu::extProc_init | ( | ) |
Called right before the traversing of $this->result begins. Can be used for various initialization
Reimplemented in tslib_tmenu_layers.
Definition at line 1768 of file class.tslib_menu.php.
Referenced by writeMenu().
tslib_tmenu::extProc_RO | ( | $ | key | ) |
Called after all processing for RollOver of an element has been done.
integer | Pointer to $this->menuArr[$key] where the current menu element record is found |
Reimplemented in tslib_tmenu_layers.
Definition at line 1779 of file class.tslib_menu.php.
Referenced by writeMenu().
tslib_tmenu::extProc_beforeLinking | ( | $ | key | ) |
Called right before the creation of the link for the menu item
integer | Pointer to $this->menuArr[$key] where the current menu element record is found |
Reimplemented in tslib_tmenu_layers.
Definition at line 1790 of file class.tslib_menu.php.
Referenced by writeMenu().
tslib_tmenu::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.
integer | Pointer to $this->menuArr[$key] where the current menu element record is found |
Reimplemented in tslib_tmenu_layers.
Definition at line 1802 of file class.tslib_menu.php.
Referenced by writeMenu().
tslib_tmenu::extProc_beforeAllWrap | ( | $ | item, | |
$ | key | |||
) |
Called before the "allWrap" happens on the menu item.
string | The current content of the menu item, $this->I['theItem'], passed along. | |
integer | Pointer to $this->menuArr[$key] where the current menu element record is found |
Reimplemented in tslib_tmenu_layers.
Definition at line 1819 of file class.tslib_menu.php.
Referenced by writeMenu().
tslib_tmenu::extProc_finish | ( | ) |
Called before the writeMenu() function returns (only if a menu was generated)
Reimplemented in tslib_tmenu_layers.
Definition at line 1830 of file class.tslib_menu.php.
Referenced by writeMenu().