Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorProfileMenuItem

abstract class PhabricatorProfileMenuItem
Phabricator Technical Documentation (Search)

This class is not documented.

Methods

public function getMenuItemTypeIcon()

This method is not documented.
Return
wild

abstract public function getMenuItemTypeName()

This method is not documented.
Return
wild

abstract public function getDisplayName($config)

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

public function buildEditEngineFields($config)

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

public function canAddToObject($object)

This method is not documented.
Parameters
$object
Return
wild

public function shouldEnableForObject($object)

This method is not documented.
Parameters
$object
Return
wild

public function canHideMenuItem($config)

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

public function canMakeDefault($config)

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

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 setEngine($engine)

This method is not documented.
Parameters
PhabricatorProfileMenuEngine$engine
Return
wild

public function getEngine()

This method is not documented.
Return
wild

final public function getMenuItemKey()

This method is not documented.
Return
wild

final public static function getAllMenuItems()

This method is not documented.
Return
wild

final protected function newItemView()

This method is not documented.
Return
wild

public function willGetMenuItemViewList($items)

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

final public function getMenuItemViewList($config)

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

abstract protected function newMenuItemViewList($config)

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

public function newPageContent($config)

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

public function getItemViewURI($config)

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

public function validateTransactions($config, $field_key, $value, $xactions)

This method is not documented.
Parameters
PhabricatorProfileMenuItemConfiguration$config
$field_key
$value
array$xactions
Return
wild

final protected function isEmptyTransaction($value, $xactions)

This method is not documented.
Parameters
$value
array$xactions
Return
wild

final protected function newError($title, $message, $xaction)

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

final protected function newRequiredError($message, $type)

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

final protected function newInvalidError($message, $xaction)

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

final protected function newEmptyView($title, $message)

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

public function getAffectedObjectPHIDs($config)

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