Page MenuHomeMTRNord's Forge
Diviner Tech Docs PhabricatorProfileMenuEngine

abstract class PhabricatorProfileMenuEngine
Phorge Technical Documentation (Search)

This class is not documented.

Methods

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
object$profile_objectA PhabricatorApplication subclass
Return
wild

public function getProfileObject()

This method is not documented.
Return
objectA PhabricatorApplication subclass

public function setCustomPHID($custom_phid)

This method is not documented.
Parameters
$custom_phid$custom_phidA User PHID
Return
wild

public function getCustomPHID()

This method is not documented.
Return
string|nullA User PHID, or null

private function getEditModeCustomPHID()

This method is not documented.
Return
string|nullA User PHID, or null

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
arrayof PhabricatorProfileMenuItemConfiguration objects

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

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