phpDocumentor menu
[ class tree: menu ] [ index: menu ] [ all elements ]

Class: RightMenu

Source Location: /myphp-1.9/myphp-1.9-menu/html/page/RightMenu.php

Class RightMenu

Class Overview

Generates a Right Menu element

  1. +----------------------------+---------+
  2. | | menu1
  3. | | menu2
  4. | | :
  5. +----------------------------+---------+
  6. Usage:
  7. $menu = new RightMenu($links,$text,$width,$class);
  8. print $menu->getHtml();
  9. Or
  10. RightMenu:display($links,$text,$width,$class);

Located in /myphp-1.9/myphp-1.9-menu/html/page/RightMenu.php [line 34]

Object
   |
   --Html
      |
      --Menu
         |
         --RightMenu

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Menu

Menu::$border
Menu::$caption
Menu::$cellPadding
Menu::$cellSpacing
Menu::$class
Menu::$links
Menu::$summary
Menu::$text
Menu::$type
Menu::$width

Inherited From Html

Html::$elements
Html::$sizeof

Inherited From Object

Object::$cachefile
Object::$html
Object::$sql

Inherited From Menu

Menu::Menu()
Constructor
Menu::addLinks()
Add an array of menu links
Menu::display()
Display html
Menu::getBottomHtml()
Get the html for the bottom menu links
Menu::getHtml()
Builds the html for a menu, and return it
Menu::getLeftHtml()
Get the html for the left menu links
Menu::getLeftRightHtml()
Get the html for the left menu links
Menu::getRightHtml()
Get the html for the right menu links
Menu::getTabHtml()
Get the html for the Tab menu links
Menu::getTopHtml()
Get the html for the top menu links
Menu::setMenu()
Set the objects for the Menu

Inherited From Html

Html::Html()
Constructor
Html::add()
Add an element, the number of elements are stored internally in an array.
Html::content()
Read the content of the specified filename
Html::display()
Display the html
Html::get()
Get the complete html for a key
Html::getAttribute()
Get the complete html for an attribute, i.e. <a class="myclass" ...
Html::getElement()
Get the element at position $i in array
Html::getElements()
Get all the elements as html
Html::getHtml()
Get Html
Html::getHtmlHelp()
Get html help
Html::getSizeof()
Get the number of elements added
Html::getTag()
Get the complete html for a html tag, i.e. <p>My paragraph</p>
Html::read()
Read the content of the specified filename and language
Html::set()
Set the named attribute (key) of a class to specified value
Html::setObject()
Set the named object to the class attribute (key), with same name
Html::showsource()
Show source
Html::update()
Save the content of the specified filename and language

Inherited From Object

Object::Object()
Constructor
Object::addHtml()
Add the current html to the SourceCode object
Object::getCacheFileName()
Returns the name of the cache file name
Object::getClassName()
Returns the name of the instanciated class
Object::getHtml()
Returns the html for the element
Object::getMsg()
Get the formatted message and debug level and Log to file ?
Object::save()
Save the SQL cache file
Object::setCacheFileName()
Set the path/name of the cache file
Object::toString()
Returns the information for this class
Object::write()
Write the content to the file opened by fp

[ Top ]
Method Summary
RightMenu   RightMenu()   Constructor
void   display()   Display html

[ Top ]
Methods
Constructor RightMenu  [line 42]

  RightMenu RightMenu( [array $links = ''], [String $text = ''], [String $width = ''], [String $class = '']  )

Constructor

Parameters:
array   $links:  An array of links
String   $text:  The text above the menu links
String   $width:  The width of the menu
String   $class:  The css class for the menu


[ Top ]
display  [line 63]

  void display( array $links, [String $text = ''], [String $width = ''], [String $class = '']  )

Display html

  1. Usage:
  2. RightMenu::display($links,$text,$width,$class);

Parameters:
array   $links:  An array of links
String   $text:  The text above the menu links
String   $width:  The width of the menu
String   $class:  The css class for the menu

API Tags:
Static:  


Redefinition of:
Menu::display()
Display html

[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:16:49 +0100 by phpDocumentor 1.3.0RC3