Page MenuHomec4science

PhabricatorCalendarController.php
No OneTemporary

File Metadata

Created
Sat, Jan 11, 01:37

PhabricatorCalendarController.php

<?php
abstract class PhabricatorCalendarController extends PhabricatorController {
protected function buildSideNavView(PhabricatorUserStatus $status = null) {
$nav = new AphrontSideNavFilterView();
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
$nav->addLabel(pht('Calendar'));
$nav->addFilter('/', pht('View All'));
$nav->addFilter('status/create/', pht('New Status'));
if ($status && $status->getID()) {
$nav->addFilter('status/edit/'.$status->getID().'/', pht('Edit Status'));
}
$nav->addFilter('status/', pht('Upcoming Statuses'));
return $nav;
}
}

Event Timeline