Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/diff/interface/PhabricatorInlineComment.php
| Show First 20 Lines • Show All 344 Lines • ▼ Show 20 Lines | public function setContentState(PhabricatorInlineCommentContentState $state) { | ||||
| $storage_map = $state->newStorageMap(); | $storage_map = $state->newStorageMap(); | ||||
| $storage->setAttribute('inline.state', $storage_map); | $storage->setAttribute('inline.state', $storage_map); | ||||
| $this->setContent($state->getContentText()); | $this->setContent($state->getContentText()); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getInlineContext() { | |||||
| return $this->getStorageObject()->getInlineContext(); | |||||
| } | |||||
| /* -( PhabricatorMarkupInterface Implementation )-------------------------- */ | /* -( PhabricatorMarkupInterface Implementation )-------------------------- */ | ||||
| public function getMarkupFieldKey($field) { | public function getMarkupFieldKey($field) { | ||||
| $content = $this->getMarkupText($field); | $content = $this->getMarkupText($field); | ||||
| return PhabricatorMarkupEngine::digestRemarkupContent($this, $content); | return PhabricatorMarkupEngine::digestRemarkupContent($this, $content); | ||||
| } | } | ||||
| Show All 18 Lines | |||||