buildStandardPageView(); $page->setApplicationName('Calendar'); $page->setBaseURI('/calendar/'); $page->setTitle(idx($data, 'title')); // Unicode has a calendar character but it's in some distant code plane, // use "keyboard" since it looks vaguely similar. $page->setGlyph("\xE2\x8C\xA8"); $page->appendChild($view); $page->setTabs( array( ), idx($data, 'tab')); $response = new AphrontWebpageResponse(); return $response->setContent($page->render()); } }