• Модуль: crmmobile
  • Путь к файлу: ~/bitrix/modules/crmmobile/lib/Kanban/Entity.php
  • Класс: BitrixCrmMobileKanbanEntity
  • Вызов: Entity::getSearchPresetsAndCounters
public function getSearchPresetsAndCounters(int $userId, ?int $currentCategoryId = null): array
{
	$presets = $this->getSearchPresets($currentCategoryId);
	$counters = $this->getCounters($userId, $currentCategoryId);

	return [
		'presets' => $presets,
		'counters' => $counters,
	];
}