PageMenu
public class PageMenu
Method Summary | |
---|---|
void | __construct(int pad, bool mod, bool right) Creates a new instance of the class. |
void | add(mixed link) Adds a link to the menu. |
void | getHTML() Returns the HTML representation of the menu. |
void | write() Writes the page menu. |
public void __construct(int pad, bool mod, bool right)
Creates a new instance of the class. @param $pad Padding value. @param $mod Determines, if modules should be integrated. @param $right Determines, if menue should be right-aligned.
public void add(mixed link)
Adds a link to the menu. @param $link Link.
public void getHTML()
Returns the HTML representation of the menu. @return HTML code.
public void write()
Writes the page menu.
Helps to create a page menu.