[Phplib-commit] CVS: php-lib-stable/doc/sgml 05-menu.sgml,1.1,1.2
Brought to you by:
nhruby,
richardarcher
From: Richard A. <ric...@us...> - 2001-08-20 06:36:17
|
Update of /cvsroot/phplib/php-lib-stable/doc/sgml In directory usw-pr-cvs1:/tmp/cvs-serv5397 Modified Files: 05-menu.sgml Log Message: update menu.inc documentation Index: 05-menu.sgml =================================================================== RCS file: /cvsroot/phplib/php-lib-stable/doc/sgml/05-menu.sgml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 05-menu.sgml 2000/07/12 18:30:35 1.1 --- 05-menu.sgml 2001/08/20 06:36:14 1.2 *************** *** 49,55 **** extra level of indentation.<rowsep> ! $title<colsep>String. After calling <tt/get_title()/, this variable contains the title of the page based on it's location in the menu hierarchy.<rowsep> ! $title_delim<colsep>String. Used to delimit (i.e., separate) components in the page title built by <tt/get_title()/. Default is <tt>" : "</tt><rowsep> </tabular> --- 49,59 ---- extra level of indentation.<rowsep> ! $title<colsep>String. After calling <tt/get_title()/, this ! variable contains the title of the page based on it's location in ! the menu hierarchy.<rowsep> ! $title_delim<colsep>String. Used to delimit (i.e., separate) ! components in the page title built by <tt/get_title()/. ! Default is <tt>" : "</tt><rowsep> </tabular> *************** *** 126,129 **** --- 130,143 ---- title and returns the title as a string. + <tag>get_sitemap()</tag> + <p> + + This function is identical to <tt/print $this->get()/ except that + all menu items are shown, not just the ones visible from the current page. + + <tag>show_sitemap()</tag> + <p> + A shorthand notation for <tt/print $this->get_sitemap()/. + <tag>setup()</tag> <p> *************** *** 175,179 **** <tt/menu.inc/ in <tt/prepend.php3/. To use <tt/Menu_Button/, you must enable the require statement ! for <tt/menu.inc/ and <tt/menu_button.inc/ in <tt/prepend.php3/. Use a subclass of either <tt/Menu/ or <tt/Menu_Button/ to --- 189,193 ---- <tt/menu.inc/ in <tt/prepend.php3/. To use <tt/Menu_Button/, you must enable the require statement ! for <tt/menu.inc/ and <tt/menu_button.inc/ in <tt/prepend.php3/. Use a subclass of either <tt/Menu/ or <tt/Menu_Button/ to *************** *** 183,188 **** <tscreen><code> ! class Example_Menu extends Menu { ! # Map of PHP_SELF URL strings to menu positions var $urlmap = array( "/menu/index.php3" => "", --- 197,202 ---- <tscreen><code> ! class Example_Menu extends Menu { ! # Map of PHP_SELF URL strings to menu positions var $urlmap = array( "/menu/index.php3" => "", *************** *** 216,220 **** ); ! function Example_Menu() { $this->setup(); } --- 230,234 ---- ); ! function Example_Menu() { $this->setup(); } *************** *** 228,232 **** <tscreen><code> <?php ! $m = new Example_Menu; ?><html> <head> --- 242,246 ---- <tscreen><code> <?php ! $m = new Example_Menu; ?><html> <head> |