• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/dispatcher/publiccallable/task/reminder.php
  • Класс: BitrixTasksDispatcherPublicCallableTaskReminder
  • Вызов: Reminder::getListByTask
public function getListByTask($taskId, array $order = array())
{
	global $USER;

	$result = array();

	if($taskId = $this->checkTaskId($taskId))
	{
		$res = CTaskReminders::getList($order, array('TASK_ID' => $taskId));
		while($item = $res->fetch())
		{
			$result[] = $item;
		}
	}

	return $result;
}