Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialInlineComment.php
| Show First 20 Lines • Show All 183 Lines • ▼ Show 20 Lines | final class DifferentialInlineComment | ||||
| public function setCommentID($id) { | public function setCommentID($id) { | ||||
| $this->proxy->setTransactionPHID( | $this->proxy->setTransactionPHID( | ||||
| PhabricatorPHID::generateNewPHID( | PhabricatorPHID::generateNewPHID( | ||||
| PhabricatorApplicationTransactionTransactionPHIDType::TYPECONST, | PhabricatorApplicationTransactionTransactionPHIDType::TYPECONST, | ||||
| DifferentialRevisionPHIDType::TYPECONST)); | DifferentialRevisionPHIDType::TYPECONST)); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function setReplyToCommentPHID($phid) { | |||||
| $this->proxy->setReplyToCommentPHID($phid); | |||||
| return $this; | |||||
| } | |||||
| public function getReplyToCommentPHID() { | |||||
| return $this->proxy->getReplyToCommentPHID(); | |||||
| } | |||||
| public function setHasReplies($has_replies) { | |||||
| $this->proxy->setHasReplies($has_replies); | |||||
| return $this; | |||||
| } | |||||
| public function getHasReplies() { | |||||
| return $this->proxy->getHasReplies(); | |||||
| } | |||||
| /* -( PhabricatorMarkupInterface Implementation )-------------------------- */ | /* -( PhabricatorMarkupInterface Implementation )-------------------------- */ | ||||
| public function getMarkupFieldKey($field) { | public function getMarkupFieldKey($field) { | ||||
| // We can't use ID because synthetic comments don't have it. | // We can't use ID because synthetic comments don't have it. | ||||
| return 'DI:'.PhabricatorHash::digest($this->getContent()); | return 'DI:'.PhabricatorHash::digest($this->getContent()); | ||||
| } | } | ||||
| Show All 18 Lines | |||||