Page MenuHomePhorge
Diviner Tech Docs ManiphestTaskPriority

final class ManiphestTaskPriority
Phorge Technical Documentation (Maniphest)

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 static function getTaskPriorityMap()

Get the priorities and their full descriptions.

Return
mapPriorities to descriptions.

public static function getTaskPriorityKeywordsMap()

Get the priorities and their command keywords.

Return
mapPriorities to lists of command keywords.

public static function getKeywordForTaskPriority($priority)

Get the canonical keyword for a given priority constant.

Parameters
$priority
Return
string|nullKeyword, or `null` if no keyword is configured.

public static function getTaskPriorityAliasMap()

Get a map of supported alternate names for each priority.

Keys are aliases, like "wish" and "wishlist". Values are canonical priority keywords, like "wishlist".

Return
map<string, string>Map of aliases to canonical priority keywords.

public static function getShortNameMap()

Get the priorities and their related short (one-word) descriptions.

Return
mapPriorities to short descriptions.

public static function getColorMap()

Get a map from priority constants to their colors.

Return
map<int, string>Priorities to colors.

public static function getDefaultPriority()

Return the default priority for this instance of Phabricator.

Return
intThe value of the default priority constant.

public static function getTaskPriorityName($priority)

Retrieve the full name of the priority level provided.

Parameters
int$priorityA priority level.
Return
stringThe priority name if the level is a valid one.

public static function getTaskPriorityColor($priority)

Retrieve the color of the priority level given

Parameters
int$priorityA priority level.
Return
stringThe color of the priority if the level is valid, or black if it is not.

public static function getTaskPriorityIcon($priority)

This method is not documented.
Parameters
$priority
Return
wild

public static function getTaskPriorityFromKeyword($keyword)

This method is not documented.
Parameters
$keyword
Return
wild

public static function isDisabledPriority($priority)

This method is not documented.
Parameters
$priority
Return
wild

public static function getConfig()

This method is not documented.
Return
wild

private static function isValidPriorityKeyword($keyword)

This method is not documented.
Parameters
$keyword
Return
wild

public static function validateConfiguration($config)

This method is not documented.
Parameters
$config
Return
wild