• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Controller/Action/GetSearchDataAction.php
  • Класс: BitrixCrmMobileControllerActionGetSearchDataAction
  • Вызов: GetSearchDataAction::run
public function run(string $entityTypeName, ?int $categoryId = null): array
{
	$this->checkModules();
	if ($this->hasErrors())
	{
		return $this->showErrors();
	}

	$userId = (int) $this->getCurrentUser()->getId();
	return $this->getSearchPresetsAndCounters($userId, $entityTypeName, $categoryId);
}