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 )
テンプレートには、最低ひとつの {title} プレースホルダが必須です。 また {url} プレースホルダを指定することも可能です。 デフォルトのテンプレートは次のようになります。
<?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>');?>
型 (HTML_MENU_ENTRY_* 定数 のいずれか) あるいは 'type' => 'template' 形式の配列。
$type が配列でない場合の、このエントリ型のテンプレート。
例外はスローされません。
This function can not be called statically.