• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/classes/general/taskfilterctrl.php
  • Класс: CTaskFilterCtrl
  • Вызов: CTaskFilterCtrl::__construct
private function __construct($userId, $bGroupMode = false)
{
	CTaskAssert::assertLaxIntegers($userId);
	CTaskAssert::assert($userId > 0);
	CTaskAssert::assert(is_bool($bGroupMode));

	$this->userId     = $userId;
	$this->bGroupMode = $bGroupMode;

	if (User::isAuthorized())
	{
		$this->loggedInUserId = User::getId();
		$this->paramName = self::filterParamPresetId . '_by_user_' . $this->loggedInUserId;
	}
	else
		$this->paramName = self::filterParamPresetId;

	$this->arPresets = $this->FetchFilterPresets();
}