cvs: pear /HTML_Menu Menu.php
| From: | Alexey Borzov | Date: | Sun, 18 Jan 2004 17:35:00 +0000 |
| Subject: | cvs: pear /HTML_Menu Menu.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15762@lists.php.net to get a copy of this message | ||
avb Sun Jan 18 12:35:00 2004 EDT
Modified files:
/pear/HTML_Menu Menu.php
Log:
On second thought, renderers should really be used instead of get()/show(), removed aliases
Index: pear/HTML_Menu/Menu.php
diff -u pear/HTML_Menu/Menu.php:1.9 pear/HTML_Menu/Menu.php:1.10
--- pear/HTML_Menu/Menu.php:1.9 Tue Jan 13 10:53:44 2004
+++ pear/HTML_Menu/Menu.php Sun Jan 18 12:35:00 2004
@@ -18,7 +18,7 @@
// | Alexey Borzov <avb@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Menu.php,v 1.9 2004/01/13 15:53:44 avb Exp $
+// $Id: Menu.php,v 1.10 2004/01/18 17:35:00 avb Exp $
//
// Types of the menu entries, instead of former magic numbers
@@ -35,7 +35,7 @@
*
* Special thanks to the original author: Alex Vorobiev <sasha@mathforum.com>.
*
-* @version $Revision: 1.9 $
+* @version $Revision: 1.10 $
* @author Ulf Wendel <ulf.wendel@phpdoc.de>
* @author Alexey Borzov <avb@php.net>
* @access public
@@ -527,30 +527,6 @@
/**
- * Prints the HTML menu, the method is an alias to show()
- *
- * @param string Menu type: tree, urhere, rows, prevnext, sitemap
- * @access public
- */
- function display($menuType = '')
- {
- print $this->get($menuType);
- }
-
-
- /**
- * Returns the HTML menu, the method is an alias to get()
- *
- * @param string Menu type: tree, urhere, rows, prevnext, sitemap
- * @access public
- */
- function toHtml($menuType = '')
- {
- return $this->get($menuType);
- }
-
-
- /**
* Sets the prefix for the URLs in the menu
*
* @param string