2011-06-13 01:06:17 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
abstract class PhabricatorCountdownController extends PhabricatorController {
|
|
|
|
|
2015-01-15 21:41:26 +01:00
|
|
|
public function buildApplicationMenu() {
|
2015-11-29 00:41:29 +01:00
|
|
|
return $this->newApplicationMenu()
|
|
|
|
->setSearchEngine(new PhabricatorCountdownSearchEngine());
|
2013-02-25 21:48:55 +01:00
|
|
|
}
|
|
|
|
|
2015-01-06 21:34:58 +01:00
|
|
|
protected function buildApplicationCrumbs() {
|
2013-02-25 21:48:55 +01:00
|
|
|
$crumbs = parent::buildApplicationCrumbs();
|
2011-06-13 01:06:17 +02:00
|
|
|
|
2013-02-25 21:48:55 +01:00
|
|
|
$crumbs->addAction(
|
2013-06-05 17:41:43 +02:00
|
|
|
id(new PHUIListItemView())
|
2013-05-04 00:49:29 +02:00
|
|
|
->setName(pht('Create Countdown'))
|
2015-12-21 18:55:45 +01:00
|
|
|
->setHref($this->getApplicationURI('create/'))
|
2014-05-12 19:08:32 +02:00
|
|
|
->setIcon('fa-plus-square'));
|
2011-06-13 01:06:17 +02:00
|
|
|
|
2013-02-25 21:48:55 +01:00
|
|
|
return $crumbs;
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|
2014-07-10 00:12:48 +02:00
|
|
|
|
2011-06-13 01:06:17 +02:00
|
|
|
}
|