Differential D21246 Diff 50595 src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/storage/PhabricatorApplicationTransactionComment.php
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | abstract class PhabricatorApplicationTransactionComment | ||||
public function getOldComment() { | public function getOldComment() { | ||||
return $this->assertAttached($this->oldComment); | return $this->assertAttached($this->oldComment); | ||||
} | } | ||||
public function hasOldComment() { | public function hasOldComment() { | ||||
return ($this->oldComment !== self::ATTACHABLE); | return ($this->oldComment !== self::ATTACHABLE); | ||||
} | } | ||||
public function getRawRemarkupURI() { | |||||
return urisprintf( | |||||
'/transactions/raw/%s/', | |||||
$this->getTransactionPHID()); | |||||
} | |||||
/* -( PhabricatorMarkupInterface )----------------------------------------- */ | /* -( PhabricatorMarkupInterface )----------------------------------------- */ | ||||
public function getMarkupFieldKey($field) { | public function getMarkupFieldKey($field) { | ||||
return PhabricatorPHIDConstants::PHID_TYPE_XCMT.':'.$this->getPHID(); | return PhabricatorPHIDConstants::PHID_TYPE_XCMT.':'.$this->getPHID(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |