@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at recaptime-dev/main 29 lines 720 B view raw
1<?php 2 3abstract class AlmanacServiceController extends AlmanacController { 4 5 protected function buildApplicationCrumbs() { 6 $crumbs = parent::buildApplicationCrumbs(); 7 8 $list_uri = $this->getApplicationURI('service/'); 9 $crumbs->addTextCrumb(pht('Services'), $list_uri); 10 11 return $crumbs; 12 } 13 14 public function buildApplicationMenu() { 15 return $this->newApplicationMenu() 16 ->setSearchEngine(new AlmanacServiceSearchEngine()); 17 } 18 19 protected function getPropertyDeleteURI($object) { 20 $id = $object->getID(); 21 return "/almanac/service/delete/{$id}/"; 22 } 23 24 protected function getPropertyUpdateURI($object) { 25 $id = $object->getID(); 26 return "/almanac/service/property/{$id}/"; 27 } 28 29}