buildStandardPageView(); $page->setApplicationName('Conduit'); $page->setBaseURI('/conduit/'); $page->setTitle(idx($data, 'title')); $page->setTabs( array( 'console' => array( 'href' => '/conduit/', 'name' => 'Console', ), 'logs' => array( 'href' => '/conduit/log/', 'name' => 'Logs', ), ), idx($data, 'tab')); $page->setGlyph("\xE2\x87\xB5"); $page->appendChild($view); $response = new AphrontWebpageResponse(); return $response->setContent($page->render()); } }