function index($extid, $taskid, Request $request, Application $app) { if (!$this->build($extid, $taskid, $request, $app)) { return $app->abort(404); } $tllrb = new TaskLogRepositoryBuilder(); $tllrb->setLimit(100); $tllrb->setTask($this->parameters['task']); $this->parameters['tasklogs'] = $tllrb->fetchAll(); return $app['twig']->render('sysadmin/task/index.html.twig', $this->parameters); }
function index(Request $request, Application $app) { $tllrb = new TaskLogRepositoryBuilder(); $tllrb->setLimit(500); return $app['twig']->render('sysadmin/taskloglist/index.html.twig', array('tasklogs' => $tllrb->fetchAll())); }