Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | protected function getObjectHref( | ||||
| if ($this->getEngine()->getConfig('uri.full')) { | if ($this->getEngine()->getConfig('uri.full')) { | ||||
| $uri = PhabricatorEnv::getURI($uri); | $uri = PhabricatorEnv::getURI($uri); | ||||
| } | } | ||||
| return $uri; | return $uri; | ||||
| } | } | ||||
| protected function renderObjectRefForAnyMedia ( | protected function renderObjectRefForAnyMedia( | ||||
| $object, | $object, | ||||
| PhabricatorObjectHandle $handle, | PhabricatorObjectHandle $handle, | ||||
| $anchor, | $anchor, | ||||
| $id) { | $id) { | ||||
| $href = $this->getObjectHref($object, $handle, $id); | $href = $this->getObjectHref($object, $handle, $id); | ||||
| $text = $this->getObjectNamePrefix().$id; | $text = $this->getObjectNamePrefix().$id; | ||||
| ▲ Show 20 Lines • Show All 318 Lines • Show Last 20 Lines | |||||