HTML_Menu proposed functions
| From: | Aidan Lister | Date: | Mon, 29 Dec 2003 03:24:06 +0000 |
| Subject: | HTML_Menu proposed functions | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-9847@lists.php.net to get a copy of this message | ||
I think this package needs a lot more functionality, for example:
The function 'setURLEnvVar' is very limited, what if I use mod_rewrite (and REQUEST_URI
doesn't suffice). Instead of asking for an enviroment variable, why not accept the whole string
instead?
Ie: setPath($_SERVER['REQUEST_URI']);
Or, in my case, setPath(somepathfunction());
Next up, what am I supposed to do if I'm not running this package from the root of my server?
There's no setBase(/pathtomodule/) function... I'd have to write my data array as:
/pathtomodule/item1.php, /pathtomodule/item2.php, etc.
Just a couple of things I hope could be added to the next release, thanks for your time.