Path: blob/master/src/applications/daemon/controller/PhabricatorDaemonLogListController.php
12256 views
<?php12final class PhabricatorDaemonLogListController3extends PhabricatorDaemonController {45public function handleRequest(AphrontRequest $request) {6$viewer = $this->getViewer();78$pager = new AphrontCursorPagerView();9$pager->readFromRequest($request);1011$logs = id(new PhabricatorDaemonLogQuery())12->setViewer($viewer)13->setAllowStatusWrites(true)14->executeWithCursorPager($pager);1516$daemon_table = id(new PhabricatorDaemonLogListView())17->setViewer($viewer)18->setDaemonLogs($logs);1920$box = id(new PHUIObjectBoxView())21->setHeaderText(pht('All Daemons'))22->setTable($daemon_table);2324$crumbs = $this->buildApplicationCrumbs();25$crumbs->addTextCrumb(pht('All Daemons'));2627$nav = $this->buildSideNavView();28$nav->selectFilter('log');29$nav->setCrumbs($crumbs);30$nav->appendChild($box);31$nav->appendChild($pager);3233return $this->newPage()34->setTitle(pht('All Daemons'))35->appendChild($nav);3637}3839}404142