Page MenuHomeMTRNord's Forge
Diviner Tech Docs PhabricatorFavoritesProfileMenuEngine

final class PhabricatorFavoritesProfileMenuEngine
Phorge Technical Documentation ()

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

public function getProfileObject()
Inherited

This method is not documented.
Return
objectA PhabricatorApplication subclass

public function setCustomPHID($custom_phid)
Inherited

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

public function getCustomPHID()
Inherited

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

private function getEditModeCustomPHID()
Inherited

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

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

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