Page MenuHomePhorge
Diviner Tech Docs PhabricatorProfileMenuItem

abstract class PhabricatorProfileMenuItem
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 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