[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 316 lignes (11 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 3 fois |
Nécessite: | 0 fichiers |
MenuRenderer:: (9 méthodes):
MenuRenderer()
generate()
generateAt()
userCanSee()
_render()
_renderJS()
getLocaleId()
breadCrumbs()
getOpts()
Classe: MenuRenderer - X-Ref
\ingroup TemplateMenuRenderer( $menu, $blogInfo, $userInfo ) X-Ref |
Initializes the renderer param: menu A vaid Menu object param: blogInfo A reference to a BlogInfo object containing information of the blog for whom param: userInfo A reference to a UserInfo object containing information of the user for whom |
generate( $depth = 99, $renderFunc = "Plain" ) X-Ref |
renders the contents of the menu param: depth How many depth levels we should generate. param: renderFunc render method for menu tree , the value is "JavaScript" and "Plain" |
generateAt( $nodeId, $depth = 1, $activeOpt = "", $renderFunc = "Plain" ) X-Ref |
Generates a tree starting from another node which can be different than the root node param: nodeId param: depth param: activeOpt param: renderFunc render method for menu tree , the value is "JavaScript" and "Plain" |
userCanSee( $node ) X-Ref |
returns true if the user has enough permissions to see this node from the menu param: node param: userInfo return: true if the user can, false otherwise |
_render( $node, $depth = 0, $activeOpt = "", $menuTop = true ) X-Ref |
_renderJS( $node, $depth = 0, $start = 0, $activeOpt = "" ) X-Ref |
getLocaleId( $entry ) X-Ref |
gets the locale id, given a node. The locale id can be either the value of the "localeId" attribute if specified or the name of the tag otherwise param: entry A valid menu node return: the locale identifier |
breadCrumbs( $entryId ) X-Ref |
simple version of a "breadcrumbs" feature param: entryId |
getOpts( $entryId) X-Ref |
param: entryId |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |