Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / almanac / controller / AlmanacServiceController.php
blobb77e8e3853e8061e1ba2f9aa9775ff7a83c49874
1 <?php
3 abstract class AlmanacServiceController extends AlmanacController {
5 protected function buildApplicationCrumbs() {
6 $crumbs = parent::buildApplicationCrumbs();
8 $list_uri = $this->getApplicationURI('service/');
9 $crumbs->addTextCrumb(pht('Services'), $list_uri);
11 return $crumbs;
14 public function buildApplicationMenu() {
15 return $this->newApplicationMenu()
16 ->setSearchEngine(new AlmanacServiceSearchEngine());
19 protected function getPropertyDeleteURI($object) {
20 $id = $object->getID();
21 return "/almanac/service/delete/{$id}/";
24 protected function getPropertyUpdateURI($object) {
25 $id = $object->getID();
26 return "/almanac/service/property/{$id}/";