buildStandardPageView(); $page->setApplicationName('Phriction'); $page->setBaseURI('/w/'); $page->setTitle(idx($data, 'title')); $page->setGlyph("\xE2\x9A\xA1"); $tabs = array( 'help' => array( 'name' => 'Help', 'href' => PhabricatorEnv::getDoclink('article/Phriction_User_Guide.html'), ), ); $page->setTabs($tabs, idx($data, 'tab')); $page->appendChild($view); $response = new AphrontWebpageResponse(); return $response->setContent($page->render()); } }