Fonctions | |
| user_itemArrayProcFuncTest ($menuArr, $conf) | |
| user_IProcFuncTest ($I, $conf) | |
| 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/"
| 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) |
| user_itemArrayProcFuncTest | ( | $ | menuArr, | |
| $ | conf | |||
| ) |
This is an example of how to manipulate menu item arrays. Used in the "testsite" package
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 = - | }
| 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) |
1.5.3