Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/storage/PonderAnswer.php
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | /* -( PhabricatorApplicationTransactionInterface )------------------------- */ | ||||
public function getApplicationTransactionObject() { | public function getApplicationTransactionObject() { | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getApplicationTransactionTemplate() { | public function getApplicationTransactionTemplate() { | ||||
return new PonderAnswerTransaction(); | return new PonderAnswerTransaction(); | ||||
} | } | ||||
public function willRenderTimeline( | |||||
PhabricatorApplicationTransactionView $timeline, | |||||
AphrontRequest $request) { | |||||
return $timeline; | |||||
} | |||||
// Markup interface | // Markup interface | ||||
public function getMarkupFieldKey($field) { | public function getMarkupFieldKey($field) { | ||||
$hash = PhabricatorHash::digest($this->getMarkupText($field)); | $hash = PhabricatorHash::digest($this->getMarkupText($field)); | ||||
$id = $this->getID(); | $id = $this->getID(); | ||||
return "ponder:A{$id}:{$field}:{$hash}"; | return "ponder:A{$id}:{$field}:{$hash}"; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |