• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/provider/taskprovider.php
  • Класс: BitrixTasksProviderTaskProvider
  • Вызов: TaskProvider::executeTopQuery
private function executeTopQuery(int $nTopCount): CDBResult
{
	$nTopCount += $this->getPlusOne;
	$strSql = $this->db->TopSql($this->buildQuery(), $nTopCount);
	$res = $this->db->Query($strSql, $this->bIgnoreErrors, "File: " . __FILE__ . "
Line: " . __LINE__); if ($res === false) { throw new TasksException('', TasksException::TE_SQL_ERROR); } $res->SetUserFields($this->userFieldManager->GetUserFields("TASKS_TASK")); return $res; }