Re: PEAR/docs/DB_NestedSet/docs/Menu_example.php
| From: | Pete | Date: | Wed, 19 May 2004 14:11:12 +0000 |
| Subject: | Re: PEAR/docs/DB_NestedSet/docs/Menu_example.php | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12607@lists.php.net to get a copy of this message | ||
Sorry, this might be a stupid question but how does the class now which node
relates to what file ?
Do I have to create an extra column 'filename?' in the nested set table ?
Has anybody used this Menu with a template ? I am using Smarty. I don't see
how I can make it work with Smarty.
It has its own output function:
$menu->setMenuType('rows');
// Output the menu
$menu->show();
But Smarty uses display. How can I pass the menu to smarty ?
I am confused.