Riferimenti per il file media/scripts/example_itemArrayProcFunc.php

Vai al codice sorgente di questo file.

Funzioni

 user_itemArrayProcFuncTest ($menuArr, $conf)
 user_IProcFuncTest ($I, $conf)


Documentazione delle funzioni

user_IProcFuncTest I,
conf
 

Used in the menu item state example of the "testsite" package at page-path "/Intro/TypoScript examples/Menu object examples/Menu state test/"

Parametri:
array The menu item array, $this->I (in the parent object)
array TypoScript configuration for the function. Notice that the property "parentObj" is a reference to the parent (calling) object (the tslib_Xmenu class instantiated)
Restituisce:
array The processed $I array returned (and stored in $this->I of the parent object again)
Vedi anche:
tslib_menu::userProcess(), tslib_tmenu::writeMenu(), tslib_gmenu::writeMenu()

Definizione alla linea 104 del file example_itemArrayProcFunc.php.

Riferimenti $conf, t3lib_div::debug(), debug(), e h2.

Questo è il grafo delle chiamate per questa funzione:

user_itemArrayProcFuncTest menuArr,
conf
 

This function basically adds the parent page to the sublevel but only if the sublevel is empty! It is also used to demonstrate the menu state items

Example can be found in the testsite package at the page-path "/Intro/TypoScript examples/Menu object examples/Fake menu items/" and "/Intro/TypoScript examples/Menu object examples/Menu state test/" This TypoScript configuration will also demonstrate it ("fake menu items"):

includeLibs.fakemenuitems = media/scripts/example_itemArrayProcFunc.php page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.expAll = 1 page.10.1.NO { allWrap = |
linkWrap = | } page.10.2 = TMENU page.10.2.itemArrayProcFunc = user_itemArrayProcFuncTest page.10.2.NO { allWrap = |
linkWrap = - | }

Parametri:
array The $menuArr array which simply is a num-array of page records which goes into the menu.
array TypoScript configuration for the function. Notice that the property "parentObj" is a reference to the parent (calling) object (the tslib_Xmenu class instantiated)
Restituisce:
array The modified $menuArr array

Definizione alla linea 74 del file example_itemArrayProcFunc.php.

Riferimenti $conf, $GLOBALS, e $k.


Generato il Thu Jan 19 15:18:33 2006 per TYPO3 versione 3.8.1 da  doxygen 1.4.6