EntitySearchScope::resolveID

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. EntitySearchScope
  4. resolveID
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/controller/entitysearchscope.php
  • Класс: Bitrix\Crm\Controller\EntitySearchScope
  • Вызов: EntitySearchScope::resolveID
static function resolveID($name)
{
	$name = mb_strtoupper(trim($name));
	if($name == '')
	{
		return self::UNDEFINED;
	}

	switch($name)
	{
		case self::DENOMINATION_NAME:
			return self::DENOMINATION;
		case self::INDEX_NAME:
			return self::INDEX;
		default:
			return self::UNDEFINED;
	}
}

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