Page MenuHomeIsabelle/Phabricator

final class ManiphestTaskPriority
Phabricator Technical Documentation (Maniphest)

This class is not documented.

Methods

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