Page MenuHomePhorge
Diviner Tech Docs PhabricatorHomeProfileMenuEngine

final class PhabricatorHomeProfileMenuEngine
Phorge Technical Documentation (Home)

This class is not documented.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function setViewer($viewer)
Inherited

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

public function getViewer()
Inherited

This method is not documented.
Return
wild

public function setProfileObject($profile_object)
Inherited

This method is not documented.
Parameters
$profile_object
Return
wild

public function getProfileObject()
Inherited

This method is not documented.
Return
wild

public function setCustomPHID($custom_phid)
Inherited

This method is not documented.
Parameters
$custom_phid
Return
wild

public function getCustomPHID()
Inherited

This method is not documented.
Return
wild

private function getEditModeCustomPHID()
Inherited

This method is not documented.
Return
wild

public function setController($controller)
Inherited

This method is not documented.
Parameters
PhabricatorController$controller
Return
wild

public function getController()
Inherited

This method is not documented.
Return
wild

public function addContentPageClass($class)
Inherited

This method is not documented.
Parameters
$class
Return
wild

public function setShowContentCrumbs($show_content_crumbs)
Inherited

This method is not documented.
Parameters
$show_content_crumbs
Return
wild

public function getShowContentCrumbs()
Inherited

This method is not documented.
Return
wild

public function getItemURI($path)

This method is not documented.
Parameters
$path
Return
wild

protected function isMenuEngineConfigurable()

This method is not documented.
Return
wild

protected function getBuiltinProfileItems($object)

This method is not documented.
Parameters
$object
Return
arrayof PhabricatorProfileMenuItemConfiguration objects

protected function getBuiltinCustomProfileItems($object, $custom_phid)
Inherited

This method is not documented.
Parameters
$object
$custom_phid
Return
wild

protected function getEditMode()
Inherited

This method is not documented.
Return
wild

public function buildResponse()
Inherited

This method is not documented.
Return
wild

private function getItems()
Inherited

This method is not documented.
Return
wild

private function loadItems($mode)
Inherited

This method is not documented.
Parameters
$mode
Return
wild

private function loadBuiltinProfileItems($mode)
Inherited

This method is not documented.
Parameters
$mode
Return
wild

private function validateNavigationMenuItem($item)
Inherited

This method is not documented.
Parameters
$item
Return
wild

public function getConfigureURI()
Inherited

This method is not documented.
Return
wild

private function buildItemReorderContent($items)
Inherited

This method is not documented.
Parameters
array$items
Return
wild

protected function buildItemViewContent($item)

This method is not documented.
Parameters
PhabricatorProfileMenuItemConfiguration$item
Return
wild

private function getViewerEditModes()
Inherited

This method is not documented.
Return
wild

protected function isMenuEnginePersonalizable()
Inherited

This method is not documented.
Return
wild

public function isMenuEnginePinnable()
Inherited

PhabricatorProfileMenuEngine

Does this engine support pinning items?

Personalizable menus disable pinning by default since it creates a number of weird edge cases without providing many benefits for current menus.

Return
boolTrue if items may be pinned as default items.

private function buildMenuEditModeContent()
Inherited

This method is not documented.
Return
wild

private function buildItemConfigureContent($items)
Inherited

This method is not documented.
Parameters
array$items
Return
wild

private function buildItemNewContent($item_key, $mode)
Inherited

This method is not documented.
Parameters
$item_key
$mode
Return
wild

private function buildItemEditContent()
Inherited

This method is not documented.
Return
wild

private function buildItemBuiltinContent($configuration)
Inherited

This method is not documented.
Parameters
PhabricatorProfileMenuItemConfiguration$configuration
Return
wild

private function buildItemHideContent($configuration)
Inherited

This method is not documented.
Parameters
PhabricatorProfileMenuItemConfiguration$configuration
Return
wild

private function buildItemDefaultContent($configuration)
Inherited

This method is not documented.
Parameters
PhabricatorProfileMenuItemConfiguration$configuration
Return
wild

protected function newItem()
Inherited

This method is not documented.
Return
wild

protected function newManageItem()
Inherited

This method is not documented.
Return
wild

protected function newDividerItem($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

public function getDefaultMenuItemConfiguration()
Inherited

This method is not documented.
Return
wild

public function adjustDefault($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

private function arrangeItems($items, $mode)
Inherited

This method is not documented.
Parameters
array$items
$mode
Return
wild

final protected function newEmptyView($title, $message)
Inherited

This method is not documented.
Parameters
$title
$message
Return
wild

protected function newNoContentView($items)
Inherited

This method is not documented.
Parameters
array$items
Return
wild

final public function newProfileMenuItemViewList()
Inherited

This method is not documented.
Return
wild

private function selectViewItem($view_list, $item_id)
Inherited

This method is not documented.
Parameters
PhabricatorProfileMenuItemViewList$view_list
$item_id
Return
wild

private function selectEditItem($view_list, $item_id)
Inherited

This method is not documented.
Parameters
PhabricatorProfileMenuItemViewList$view_list
$item_id
Return
wild