buildStandardPageView(); $page->setApplicationName('Owners'); $page->setBaseURI('/owners/'); $page->setTitle(idx($data, 'title')); $page->setTabs( array( 'index' => array( 'href' => '/owners/', 'name' => 'Package Index', ), 'related' => array( 'href' => '/owners/related/', 'name' => 'Related Commits', ), ), idx($data, 'tab')); $page->setGlyph("\xE2\x98\x81"); $page->appendChild($view); $response = new AphrontWebpageResponse(); return $response->setContent($page->render()); } }