Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorProjectProfileMenuEngine

final class PhabricatorProjectProfileMenuEngine
Phabricator Technical Documentation (Projects)

This class is not documented.

Methods

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
wild

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

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

private function getViewerEditModes()
Inherited

This method is not documented.
Return
wild

protected function isMenuEnginePersonalizable()

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