previousconstructor HTML_Menu::HTML_Menu() (Previous) (Next) HTML_Menu::get()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_Menu::forceCurrentUrl()

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

Synopsis

require_once 'HTML/Menu.php';

void HTML_Menu::forceCurrentUrl ( string $url )

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.

previousconstructor HTML_Menu::HTML_Menu() (Previous) (Next) HTML_Menu::get()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.