CCrmOwnerType::GetDescriptions

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmOwnerType
  4. GetDescriptions
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_owner_type.php
  • Класс: \CCrmOwnerType
  • Вызов: CCrmOwnerType::GetDescriptions
static function GetDescriptions(array $types): array
{
	$result = [];
	foreach($types as $typeID)
	{
		$typeID = (int)$typeID;
		$description = self::GetDescription($typeID);
		if($description !== '')
		{
			$result[$typeID] = $description;
		}
	}
	return $result;
}

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