public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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 | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setViewer($viewer)
public function setViewer($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
public function getViewer()
public function getViewer()
Return
wild |
public function setProfileObject($profile_object)
public function setProfileObject($profile_object)
Parameters
$profile_object |
Return
wild |
public function getProfileObject()
public function getProfileObject()
Return
wild |
public function setCustomPHID($custom_phid)
public function setCustomPHID($custom_phid)
Parameters
$custom_phid |
Return
wild |
public function getCustomPHID()
public function getCustomPHID()
Return
wild |
private function getEditModeCustomPHID()
private function getEditModeCustomPHID()
Return
wild |
public function setController($controller)
public function setController($controller)
Parameters
PhabricatorController | $controller |
Return
wild |
public function getController()
public function getController()
Return
wild |
public function addContentPageClass($class)
public function addContentPageClass($class)
Parameters
$class |
Return
wild |
public function setShowContentCrumbs($show_content_crumbs)
public function setShowContentCrumbs($show_content_crumbs)
Parameters
$show_content_crumbs |
Return
wild |
public function getShowContentCrumbs()
public function getShowContentCrumbs()
Return
wild |
abstract public function getItemURI($path)
abstract public function getItemURI($path)
Parameters
$path |
Return
wild |
abstract protected function isMenuEngineConfigurable()
abstract protected function isMenuEngineConfigurable()
Return
wild |
abstract protected function getBuiltinProfileItems($object)
abstract protected function getBuiltinProfileItems($object)
Parameters
$object |
Return
array | of PhabricatorProfileMenuItemConfiguration objects |
protected function getBuiltinCustomProfileItems($object, $custom_phid)
protected function getBuiltinCustomProfileItems($object, $custom_phid)
Parameters
$object | ||
$custom_phid |
Return
wild |
protected function getEditMode()
protected function getEditMode()
Return
wild |
public function buildResponse()
public function buildResponse()
Return
wild |
private function getItems()
private function getItems()
Return
wild |
private function loadItems($mode)
private function loadItems($mode)
Parameters
$mode |
Return
wild |
private function loadBuiltinProfileItems($mode)
private function loadBuiltinProfileItems($mode)
Parameters
$mode |
Return
wild |
private function validateNavigationMenuItem($item)
private function validateNavigationMenuItem($item)
Parameters
$item |
Return
wild |
public function getConfigureURI()
public function getConfigureURI()
Return
wild |
private function buildItemReorderContent($items)
private function buildItemReorderContent($items)
Parameters
array | $items |
Return
wild |
protected function buildItemViewContent($item)
protected function buildItemViewContent($item)
Parameters
PhabricatorProfileMenuItemConfiguration | $item |
Return
wild |
private function getViewerEditModes()
private function getViewerEditModes()
Return
wild |
protected function isMenuEnginePersonalizable()
protected function isMenuEnginePersonalizable()
Return
wild |
public function isMenuEnginePinnable()
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
bool | True if items may be pinned as default items. |
private function buildMenuEditModeContent()
private function buildMenuEditModeContent()
Return
wild |
private function buildItemConfigureContent($items)
private function buildItemConfigureContent($items)
Parameters
array | $items |
Return
wild |
private function buildItemNewContent($item_key, $mode)
private function buildItemNewContent($item_key, $mode)
Parameters
$item_key | ||
$mode |
Return
wild |
private function buildItemEditContent()
private function buildItemEditContent()
Return
wild |
private function buildItemBuiltinContent($configuration)
private function buildItemBuiltinContent($configuration)
Parameters
PhabricatorProfileMenuItemConfiguration | $configuration |
Return
wild |
private function buildItemHideContent($configuration)
private function buildItemHideContent($configuration)
Parameters
PhabricatorProfileMenuItemConfiguration | $configuration |
Return
wild |
private function buildItemDefaultContent($configuration)
private function buildItemDefaultContent($configuration)
Parameters
PhabricatorProfileMenuItemConfiguration | $configuration |
Return
wild |
protected function newItem()
protected function newItem()
Return
wild |
protected function newManageItem()
protected function newManageItem()
Return
wild |
protected function newDividerItem($key)
protected function newDividerItem($key)
Parameters
$key |
Return
wild |
public function getDefaultMenuItemConfiguration()
public function getDefaultMenuItemConfiguration()
Return
wild |
public function adjustDefault($key)
public function adjustDefault($key)
Parameters
$key |
Return
wild |
private function arrangeItems($items, $mode)
private function arrangeItems($items, $mode)
Parameters
array | $items | |
$mode |
Return
wild |
final protected function newEmptyView($title, $message)
final protected function newEmptyView($title, $message)
Parameters
$title | ||
$message |
Return
wild |
protected function newNoContentView($items)
protected function newNoContentView($items)
Parameters
array | $items |
Return
wild |
final public function newProfileMenuItemViewList()
final public function newProfileMenuItemViewList()
Return
wild |
private function selectViewItem($view_list, $item_id)
private function selectViewItem($view_list, $item_id)
Parameters
PhabricatorProfileMenuItemViewList | $view_list | |
$item_id |
Return
wild |
private function selectEditItem($view_list, $item_id)
private function selectEditItem($view_list, $item_id)
Parameters
PhabricatorProfileMenuItemViewList | $view_list | |
$item_id |
Return
wild |