Class TreeMenu

Description

This is the TreeMenu class of the PHP Layers Menu library.

This class depends on the LayersMenuCommon class and on the PEAR conforming version of the PHPLib Template class, i.e. on HTML_Template_PHPLIB

  • version: 3.2.0-rc

Located in /smarty/plugins/menuLayer/lib/treemenu.inc.php (line 17)

LayersMenuCommon
   |
   --TreeMenu
Method Summary
void TreeMenu ()
string getTreeMenu (string $menu_name)
string newTreeMenu ([string $menu_name = ''])
void printTreeMenu (string $menu_name)
boolean setDirroot ( $dirroot)
void setTreeMenuImagesType ( $treeMenuImagesType)
void setTreeMenuTheme ( $treeMenuTheme)
Methods
Constructor TreeMenu (line 43)

The constructor method; it initializates the menu system

void TreeMenu ()
getTreeMenu (line 333)

Method that returns the code of the requested Tree Menu

  • access: public
string getTreeMenu (string $menu_name)
  • string $menu_name: the name of the menu whose Tree Menu code has to be returned
newTreeMenu (line 99)

Method to prepare a new Tree Menu.

This method processes items of a menu to prepare and return the corresponding Tree Menu code.

  • access: public
string newTreeMenu ([string $menu_name = ''])
  • string $menu_name: the name of the menu whose items have to be processed
printTreeMenu (line 345)

Method that prints the code of the requested Tree Menu

  • access: public
void printTreeMenu (string $menu_name)
  • string $menu_name: the name of the menu whose Tree Menu code has to be printed
setDirroot (line 64)

The method to set the dirroot directory

  • access: public
boolean setDirroot ( $dirroot)
  • $dirroot
setTreeMenuImagesType (line 74)

The method to set the type of images used for the Tree Menu

  • access: public
void setTreeMenuImagesType ( $treeMenuImagesType)
  • $treeMenuImagesType
setTreeMenuTheme (line 84)

The method to set the prefix for filenames of images of a theme

  • access: public
void setTreeMenuTheme ( $treeMenuTheme)
  • $treeMenuTheme

Inherited Methods

Inherited From LayersMenuCommon

LayersMenuCommon::LayersMenuCommon()
LayersMenuCommon::parseStructureForMenu()
LayersMenuCommon::replaceStringInUrls()
LayersMenuCommon::scanTableForMenu()
LayersMenuCommon::setDBConnParms()
LayersMenuCommon::setDirrootCommon()
LayersMenuCommon::setIcondir()
LayersMenuCommon::setIconsize()
LayersMenuCommon::setIconwww()
LayersMenuCommon::setImgdir()
LayersMenuCommon::setImgwww()
LayersMenuCommon::setLibjsdir()
LayersMenuCommon::setLinksTargets()
LayersMenuCommon::setMenuStructureFile()
LayersMenuCommon::setMenuStructureString()
LayersMenuCommon::setPrependedUrl()
LayersMenuCommon::setSelectedItemByCount()
LayersMenuCommon::setSelectedItemById()
LayersMenuCommon::setSelectedItemByUrl()
LayersMenuCommon::setSelectedItemByUrlEregi()
LayersMenuCommon::setSeparator()
LayersMenuCommon::setTableFields()
LayersMenuCommon::setTableFields_i18n()
LayersMenuCommon::setTableName()
LayersMenuCommon::setTableName_i18n()
LayersMenuCommon::setTpldirCommon()
LayersMenuCommon::unsetIconsize()
LayersMenuCommon::_getmicrotime()

Documentation generated on Wed, 05 Oct 2011 10:36:47 +0200 by phpDocumentor 1.4.1