public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public static function getTaskPriorityMap()
Get the priorities and their full descriptions.
map | Priorities to descriptions. |
public static function getTaskPriorityKeywordsMap()
Get the priorities and their command keywords.
map | Priorities to lists of command keywords. |
public static function getKeywordForTaskPriority($priority)
Get the canonical keyword for a given priority constant.
$priority |
string|null | Keyword, 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".
map<string, string> | Map of aliases to canonical priority keywords. |
public static function getShortNameMap()
Get the priorities and their related short (one-word) descriptions.
map | Priorities to short descriptions. |
public static function getColorMap()
Get a map from priority constants to their colors.
map<int, string> | Priorities to colors. |
public static function getDefaultPriority()
Return the default priority for this instance of Phabricator.
int | The value of the default priority constant. |
public static function getTaskPriorityName($priority)
Retrieve the full name of the priority level provided.
int | $priority | A priority level. |
string | The priority name if the level is a valid one. |
public static function getTaskPriorityColor($priority)
Retrieve the color of the priority level given
int | $priority | A priority level. |
string | The color of the priority if the level is valid, or black if it is not. |
public static function getTaskPriorityIcon($priority)
$priority |
wild |
public static function getTaskPriorityFromKeyword($keyword)
$keyword |
wild |
public static function isDisabledPriority($priority)
$priority |
wild |
public static function getConfig()
wild |
private static function isValidPriorityKeyword($keyword)
$keyword |
wild |
public static function validateConfiguration($config)
$config |
wild |