Search for in the Packages This site (using Yahoo!) Developers Developer mailing list General mailing list SVN commits mailing list
void HTML_Menu_DirectTreeRenderer::setEntryTemplate ( mixed $type , string $template = = null )
Le template doit contenir au moins un marqueur {title}, qui peut également contenir un marqueur {url}. Les templates par défaut sont :
<?phparray( HTML_MENU_ENTRY_INACTIVE => '<a href="{url}">{title}</a>', HTML_MENU_ENTRY_ACTIVE => '<strong>{title}</strong>', HTML_MENU_ENTRY_ACTIVEPATH => '<a href="{url}"><em>{title}</em></a>');?>
soit un type (une constante parmi les constantes HTML_MENU_ENTRY_*) ou un tableau du type 'type' => 'template'
template pour ce type d'entrée si $type n'est pas un tableau
No exceptions thrown.
This function can not be called statically.