HTML_Menu::setURLPrefix()

HTML_Menu::setURLPrefix()

HTML_Menu::setURLPrefix() -- Sets the prefix for the URLs in the menu

Description

This is useful if you have relative URLs in the menu description structure. This prefix will be appended to the URLs from this structure and the result will be compared to "current" URL.

Parameter

string $prefix

menu URL prefix

Throws

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.