CCrmActivityPriority::GetAllDescriptions

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmActivityPriority
  4. GetAllDescriptions
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_activity.php
  • Класс: \CCrmActivityPriority
  • Вызов: CCrmActivityPriority::GetAllDescriptions
static function GetAllDescriptions()
{
	if(!self::$ALL_DESCRIPTIONS)
	{
		self::$ALL_DESCRIPTIONS = array(
			self::None => '',
			self::Low => GetMessage('CRM_PRIORITY_LOW'),
			self::Medium => GetMessage('CRM_PRIORITY_MEDIUM'),
			self::High => GetMessage('CRM_PRIORITY_HIGH')
		);
	}

	return self::$ALL_DESCRIPTIONS;
}

Добавить комментарий