protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $doc_name = 'Calendar User Guide: Exporting Events';
     $doc_href = PhabricatorEnv::getDoclink($doc_name);
     $crumbs->addAction(id(new PHUIListItemView())->setName(pht('Guide: Exporting Events'))->setIcon('fa-book')->setHref($doc_href));
     return $crumbs;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $viewer = $this->getViewer();
     $year = $this->viewYear;
     $month = $this->viewMonth;
     $day = $this->viewDay;
     $parameters = array();
     // If the viewer clicks "Create Event" while on a particular day view,
     // default the times to that day.
     if ($year && $month && $day) {
         $datetimes = PhabricatorCalendarEvent::newDefaultEventDateTimes($viewer, PhabricatorTime::getNow());
         foreach ($datetimes as $datetime) {
             $datetime->setYear($year)->setMonth($month)->setDay($day);
         }
         list($start, $end) = $datetimes;
         $parameters['start'] = $start->getEpoch();
         $parameters['end'] = $end->getEpoch();
     }
     id(new PhabricatorCalendarEventEditEngine())->setViewer($this->getViewer())->addActionToCrumbs($crumbs, $parameters);
     return $crumbs;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     id(new PhabricatorCalendarEventEditEngine())->setViewer($this->getViewer())->addActionToCrumbs($crumbs);
     return $crumbs;
 }
 protected function buildApplicationCrumbs()
 {
     $crumbs = parent::buildApplicationCrumbs();
     $crumbs->addAction(id(new PHUIListItemView())->setName(pht('Import Events'))->setHref($this->getApplicationURI('import/edit/'))->setIcon('fa-upload'));
     return $crumbs;
 }