|
TYPO3 API
SVNRelease
|
Go to the source code of this file.
Functions | |
| 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) |
Definition at line 103 of file example_itemArrayProcFunc.php.
References debug().
| user_itemArrayProcFuncTest | ( | $ | menuArr, |
| $ | conf | ||
| ) |
This is an example of how to manipulate menu item arrays. Used in the "testsite" package
Revised for TYPO3 3.6 June/2003 by Kasper Skårhøj XHTML compliant
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) |
Definition at line 74 of file example_itemArrayProcFunc.php.
References $GLOBALS.
1.7.5.1