"TYPO3 4.0.1: tslib_gmenu Class Reference", "datetime" => "Sat Dec 2 19:26:52 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>
Public Member Functions | |
generate () | |
makeGifs ($conf, $resKey) | |
findLargestDims ($conf, $items, $Hobjs, $Wobjs, $minDim, $maxDim) | |
writeMenu () | |
extProc_init () | |
extProc_RO ($key) | |
extProc_beforeLinking ($key) | |
extProc_afterLinking ($key) | |
extProc_beforeAllWrap ($item, $key) | |
extProc_finish () |
Definition at line 1849 of file class.tslib_menu.php.
|
Called right after the creation of links for the menu item. This is also the last function call before the for-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. Further this calls the subMenu function in the parent class to create any submenu there might be.
Reimplemented in tslib_gmenu_foldout, and tslib_gmenu_layers. Definition at line 2330 of file class.tslib_menu.php. |
|
Called before the "wrap" happens on the menu item.
Reimplemented in tslib_gmenu_layers. Definition at line 2347 of file class.tslib_menu.php. |
|
Called right before the creation of the link for the menu item
Reimplemented in tslib_gmenu_foldout, and tslib_gmenu_layers. Definition at line 2317 of file class.tslib_menu.php. |
|
Called before the writeMenu() function returns (only if a menu was generated)
Reimplemented in tslib_gmenu_foldout, and tslib_gmenu_layers. Definition at line 2358 of file class.tslib_menu.php. |
|
Called right before the traversing of $this->result begins. Can be used for various initialization
Reimplemented in tslib_gmenu_foldout, and tslib_gmenu_layers. Definition at line 2295 of file class.tslib_menu.php. |
|
Called after all processing for RollOver of an element has been done.
Reimplemented in tslib_gmenu_layers. Definition at line 2306 of file class.tslib_menu.php. |
|
Function searching for the largest width and height of the menu items to be generated. Uses some of the same code as makeGifs and even instantiates some gifbuilder objects BUT does not render the images - only reading out which width they would have. Remember to upgrade the code in here if the makeGifs function is updated.
Definition at line 2102 of file class.tslib_menu.php. |
|
Calls procesItemStates() so that the common configuration for the menu items are resolved into individual configuration per item. Calls makeGifs() for all "normal" items and if configured for, also the "rollover" items.
Definition at line 1858 of file class.tslib_menu.php. |
|
Will traverse input array with configuratoin per-item and create corresponding GIF files for the menu. The data of the files are stored in $this->result
Definition at line 1896 of file class.tslib_menu.php. |
|
Traverses the ->result['NO'] array of menu items configuration (made by ->generate()) and renders the HTML of each item (the images themselves was made with makeGifs() before this. See ->generate()) 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 GMENU_LAYERS
Definition at line 2174 of file class.tslib_menu.php. |