Differential D21574 Diff 51360 src/applications/transactions/storage/PhabricatorApplicationTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/storage/PhabricatorApplicationTransaction.php
Show First 20 Lines • Show All 402 Lines • ▼ Show 20 Lines | if ($this->handles === null) { | ||||
throw new Exception( | throw new Exception( | ||||
pht('Transaction requires handles and it did not load them.')); | pht('Transaction requires handles and it did not load them.')); | ||||
} | } | ||||
return $this->handles; | return $this->handles; | ||||
} | } | ||||
public function renderHandleLink($phid) { | public function renderHandleLink($phid) { | ||||
if ($this->renderingTarget == self::TARGET_HTML) { | if ($this->renderingTarget == self::TARGET_HTML) { | ||||
return $this->getHandle($phid)->renderLink(); | return $this->getHandle($phid)->renderHovercardLink(); | ||||
} else { | } else { | ||||
return $this->getHandle($phid)->getLinkName(); | return $this->getHandle($phid)->getLinkName(); | ||||
} | } | ||||
} | } | ||||
public function renderHandleList(array $phids) { | public function renderHandleList(array $phids) { | ||||
$links = array(); | $links = array(); | ||||
foreach ($phids as $phid) { | foreach ($phids as $phid) { | ||||
▲ Show 20 Lines • Show All 1,382 Lines • Show Last 20 Lines |