array( '' => 'PhabricatorCalendarBrowseController', 'status/' => array( '' => 'PhabricatorCalendarViewStatusController', 'create/' => 'PhabricatorCalendarEditStatusController', 'delete/(?P[1-9]\d*)/' => 'PhabricatorCalendarDeleteStatusController', 'edit/(?P[1-9]\d*)/' => 'PhabricatorCalendarEditStatusController', 'view/(?P[^/]+)/' => 'PhabricatorCalendarViewStatusController', ), ), ); } public function getQuickCreateItems(PhabricatorUser $viewer) { $items = array(); $item = id(new PHUIListItemView()) ->setName(pht('Calendar Event')) ->setAppIcon('calendar-dark') ->setHref($this->getBaseURI().'status/create/'); $items[] = $item; return $items; } }