public function setMenuID($menu_id)
public function setMenuID($menu_id)
Parameters
$menu_id |
Return
wild |
public function getMenuID()
public function getMenuID()
Return
wild |
public function __construct()
public function __construct()
Return
this | //Implicit.// |
public function addClass($class)
public function addClass($class)
Parameters
$class |
Return
wild |
public function setCrumbs($crumbs)
public function setCrumbs($crumbs)
Parameters
PHUICrumbsView | $crumbs |
Return
wild |
public function getCrumbs()
public function getCrumbs()
Return
wild |
public function setIsProfileMenu($is_profile)
public function setIsProfileMenu($is_profile)
Parameters
$is_profile |
Return
wild |
public function getIsProfileMenu()
public function getIsProfileMenu()
Return
wild |
public function getMenuView()
public function getMenuView()
Return
wild |
public function addMenuItem($item)
public function addMenuItem($item)
Parameters
PHUIListItemView | $item |
Return
wild |
public function getMenu()
public function getMenu()
Return
wild |
public function addFilter($key, $name, $uri, $icon)
public function addFilter($key, $name, $uri, $icon)
Parameters
$key | ||
$name | ||
$uri | ||
$icon |
Return
wild |
public function addButton($key, $name, $uri)
public function addButton($key, $name, $uri)
Parameters
$key | ||
$name | ||
$uri |
Return
wild |
public function newLink($key)
public function newLink($key)
Parameters
$key |
Return
wild |
private function addThing($key, $name, $uri, $type, $icon)
private function addThing($key, $name, $uri, $type, $icon)
Add a thing in the menu
Parameters
string | $key | Internal name |
string | $name | Human name |
mixed | $uri | Destination URI. For example as string or as PhutilURI. |
string | $type | Item type. For example see PHUIListItemView constants. |
string | $icon | Icon name |
Return
wild |
public function addCustomBlock($block)
public function addCustomBlock($block)
Parameters
$block |
Return
wild |
public function addLabel($name)
public function addLabel($name)
Parameters
$name |
Return
wild |
public function setBaseURI($uri)
public function setBaseURI($uri)
Parameters
PhutilURI | $uri |
Return
wild |
public function getBaseURI()
public function getBaseURI()
Return
wild |
public function selectFilter($key, $default)
public function selectFilter($key, $default)
Parameters
$key | ||
$default |
Return
wild |
public function getSelectedFilter()
public function getSelectedFilter()
Return
wild |
public function appendFooter($footer)
public function appendFooter($footer)
Parameters
$footer |
Return
wild |
public function getMainID()
public function getMainID()
Return
wild |
public function render()
public function render()
Return
wild |
private function renderFlexNav()
private function renderFlexNav()
Return
wild |