HTML_Menu::forceCurrentUrl()

HTML_Menu::forceCurrentUrl()

HTML_Menu::forceCurrentUrl() -- Forces the given URL to be "current"

Description

Use this if you do not want to extract current URL from some environment variable (e.g. $_SERVER['PHP_SELF']) but rather use some custom logic to determine it.

Parameter

string $url

Url to use

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.