• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/status.php
  • Класс: Bitrix\Crm\Controller\Status
  • Вызов: Status::isAllowedStatusType
protected function isAllowedStatusType(string $statusTypeId): bool
{
	static $statusTypeIdMap = null;

	if ($statusTypeIdMap === null)
	{
		$statusTypeIdMap = array_fill_keys($this->getAllowedStatusTypes(), true);
	}

	return isset($statusTypeIdMap[$statusTypeId]);
}