Class PlainMenu

Description

This is the PlainMenu 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. It provides plain menus, that to do not require JavaScript to work.

  • version: 3.2.0-rc

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

LayersMenuCommon
   |
   --PlainMenu
Variable Summary
Method Summary
void PlainMenu ()
string getHorizontalPlainMenu (string $menu_name)
string getPlainMenu (string $menu_name)
string newHorizontalPlainMenu ([string $menu_name = ''])
string newPlainMenu ([string $menu_name = ''])
void printHorizontalPlainMenu (string $menu_name)
void printPlainMenu (string $menu_name)
boolean setDirroot ( $dirroot)
boolean setHorizontalPlainMenuTpl ( $horizontalPlainMenuTpl)
boolean setPlainMenuTpl ( $plainMenuTpl)
boolean setTpldir ( $tpldir)
Variables
mixed $horizontalPlainMenuTpl (line 34)

The template to be used for the Horizontal Plain Menu

mixed $plainMenuTpl (line 23)

The template to be used for the Plain Menu

Methods
Constructor PlainMenu (line 46)

The constructor method; it initializates some variables

void PlainMenu ()
getHorizontalPlainMenu (line 262)

Method that returns the code of the requested Horizontal Plain Menu

  • access: public
string getHorizontalPlainMenu (string $menu_name)
  • string $menu_name: the name of the menu whose Horizontal Plain Menu code has to be returned
getPlainMenu (line 171)

Method that returns the code of the requested Plain Menu

  • access: public
string getPlainMenu (string $menu_name)
  • string $menu_name: the name of the menu whose Plain Menu code has to be returned
newHorizontalPlainMenu (line 216)

Method to prepare a new Horizontal Plain Menu.

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

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

Method to prepare a new Plain Menu.

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

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

Method that prints the code of the requested Horizontal Plain Menu

  • access: public
void printHorizontalPlainMenu (string $menu_name)
  • string $menu_name: the name of the menu whose Horizontal Plain Menu code has to be printed
printPlainMenu (line 183)

Method that prints the code of the requested Plain Menu

  • access: public
void printPlainMenu (string $menu_name)
  • string $menu_name: the name of the menu whose Plain Menu code has to be printed
setDirroot (line 62)

The method to set the dirroot directory

  • access: public
boolean setDirroot ( $dirroot)
  • $dirroot
setHorizontalPlainMenuTpl (line 193)

The method to set horizontalPlainMenuTpl

  • access: public
boolean setHorizontalPlainMenuTpl ( $horizontalPlainMenuTpl)
  • $horizontalPlainMenuTpl
setPlainMenuTpl (line 108)

The method to set plainMenuTpl

  • access: public
boolean setPlainMenuTpl ( $plainMenuTpl)
  • $plainMenuTpl
setTpldir (line 76)

The method to set the tpldir directory

  • access: public
boolean setTpldir ( $tpldir)
  • $tpldir

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:43 +0200 by phpDocumentor 1.4.1