HTML_Menu::setURLPrefix()

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

概要

require_once 'HTML/Menu.php';

void HTML_Menu::setURLPrefix (string $prefix)

説明

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.

パラメータ

string $prefix

menu URL prefix

例外・エラー

throws no exceptions thrown

参照

see HTML_Menu::getCurrentURL(), HTML_Menu::forceCurrentURL(), HTML_Menu::setMenu().

注意

この関数は、スタティックにコールする ことはできません。