Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5200783
Hits Heute: 212
max. Hits (10.07.07): 6964
User Online: 28
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

XML und Datenbanken. Konzepte und Systeme
XML und Datenbanken. Konzepte und Systeme

Manuals > PEAR > DirectRenderer::setEntryTemplate()

DirectRenderer::setEntryTemplate()

DirectRenderer::setEntryTemplate() -- Sets the template for menu entry.

Description

The template should contain at least the placeholder, can also contain and placeholders, depending on entry type. Default templates are:
array( HTML_MENU_ENTRY_INACTIVE => '<td><a href=""></a></td>', HTML_MENU_ENTRY_ACTIVE => '<td><b></b></td>', HTML_MENU_ENTRY_ACTIVEPATH => '<td><b><a href=""></a></b></td>', HTML_MENU_ENTRY_spanVIOUS => '<td><a href="">&lt;&lt; </a></td>', HTML_MENU_ENTRY_NEXT => '<td><a href=""> &gt;&gt;</a></td>', HTML_MENU_ENTRY_UPPER => '<td><a href="">^ ^</a></td>', HTML_MENU_ENTRY_BREADCRUMB => '<td><a href=""></a> &gt;&gt; </td>' );

Parameter

mixed $type

either type (one of HTML_MENU_ENTRY_* constants) or an array 'type' => 'template'

string $template

template for this entry type if $type is not an array

Throws

throws no exceptions thrown

Note

This function can not be called statically.


Copyright 1998 - 2009 by I.S.U.M.