Page MenuHomePhorge
Diviner Tech Docs PhabricatorProfileMenuEngine

abstract class PhabricatorProfileMenuEngine
Phorge Technical Documentation (Search)

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)

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

public function getViewer()

This method is not documented.
Return
wild

public function setProfileObject($profile_object)

This method is not documented.
Parameters
$profile_object
Return
wild

public function getProfileObject()

This method is not documented.
Return
wild

public function setCustomPHID($custom_phid)

This method is not documented.
Parameters
$custom_phid
Return
wild

public function getCustomPHID()

This method is not documented.
Return
wild

private function getEditModeCustomPHID()

This method is not documented.
Return
wild

public function setController($controller)

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

public function getController()

This method is not documented.
Return
wild

public function addContentPageClass($class)

This method is not documented.
Parameters
$class
Return
wild

public function setShowContentCrumbs($show_content_crumbs)

This method is not documented.
Parameters
$show_content_crumbs
Return
wild

public function getShowContentCrumbs()

This method is not documented.
Return
wild

abstract public function getItemURI($path)

This method is not documented.
Parameters
$path
Return
wild

abstract protected function isMenuEngineConfigurable()

This method is not documented.
Return
wild

abstract protected function getBuiltinProfileItems($object)

This method is not documented.
Parameters
$object
Return
wild

protected function getBuiltinCustomProfileItems($object, $custom_phid)

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

protected function getEditMode()

This method is not documented.
Return
wild

public function buildResponse()

This method is not documented.
Return
wild

private function getItems()

This method is not documented.
Return
wild

private function loadItems($mode)

This method is not documented.
Parameters
$mode
Return
wild

private function loadBuiltinProfileItems($mode)

This method is not documented.
Parameters
$mode
Return
wild

private function validateNavigationMenuItem($item)

This method is not documented.
Parameters
$item
Return
wild

public function getConfigureURI()

This method is not documented.
Return
wild

private function buildItemReorderContent($items)

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()

This method is not documented.
Return
wild

protected function isMenuEnginePersonalizable()

This method is not documented.
Return
wild

public function isMenuEnginePinnable()

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()

This method is not documented.
Return
wild

private function buildItemConfigureContent($items)

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

private function buildItemNewContent($item_key, $mode)

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

private function buildItemEditContent()

This method is not documented.
Return
wild

private function buildItemBuiltinContent($configuration)

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

private function buildItemHideContent($configuration)

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

private function buildItemDefaultContent($configuration)

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

protected function newItem()

This method is not documented.
Return
wild

protected function newManageItem()

This method is not documented.
Return
wild

protected function newDividerItem($key)

This method is not documented.
Parameters
$key
Return
wild
This method is not documented.
Return
wild

public function adjustDefault($key)

This method is not documented.
Parameters
$key
Return
wild

private function arrangeItems($items, $mode)

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

final protected function newEmptyView($title, $message)

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

protected function newNoContentView($items)

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

final public function newProfileMenuItemViewList()

This method is not documented.
Return
wild

private function selectViewItem($view_list, $item_id)

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

private function selectEditItem($view_list, $item_id)

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