[Typo3-dev] Menu Array

Gordon Franke gordon.franke at skytecag.com
Wed Dec 15 15:34:32 CET 2004


How can i get a Array with the Menupoints an his properties

I include my php_script over the template this works fine but the code 
did not work.


can anyone help me?

<?
$content .= 'hallo';

$content .= print_r($this->menuArr);

$menu = t3lib_div::makeInstance('tslib_tmenu');
$menu->parent_cObj = $this;
$menu->start($GLOBALS['TSFE']->tmpl,$GLOBALS['TSFE']->sys_page,'',$conf,1);
$menu->generate();
debug($menu);

$menu->makeMenu();
debug($menu);

$content.= $menu->writeMenu();
debug($menu);

?>




More information about the TYPO3-dev mailing list