CCrmOwnerType::GetNames

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmOwnerType
  4. GetNames
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_owner_type.php
  • Класс: \CCrmOwnerType
  • Вызов: CCrmOwnerType::GetNames
static function GetNames(array $types): array
{
	$result = [];

	foreach($types as $typeID)
	{
		$typeID = (int)$typeID;
		$name = self::ResolveName($typeID);
		if($name !== '')
		{
			$result[] = $name;
		}
	}

	return $result;
}

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