Differential D8286 Diff 19710 src/applications/differential/customfield/DifferentialSummaryField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialSummaryField.php
Show All 24 Lines | protected function writeValueToRevision( | ||||
$value) { | $value) { | ||||
$revision->setSummary($value); | $revision->setSummary($value); | ||||
} | } | ||||
public function readValueFromRequest(AphrontRequest $request) { | public function readValueFromRequest(AphrontRequest $request) { | ||||
$this->setValue($request->getStr($this->getFieldKey())); | $this->setValue($request->getStr($this->getFieldKey())); | ||||
} | } | ||||
public function renderEditControl() { | public function renderEditControl(array $handles) { | ||||
return id(new PhabricatorRemarkupControl()) | return id(new PhabricatorRemarkupControl()) | ||||
->setName($this->getFieldKey()) | ->setName($this->getFieldKey()) | ||||
->setValue($this->getValue()) | ->setValue($this->getValue()) | ||||
->setError($this->getFieldError()) | ->setError($this->getFieldError()) | ||||
->setLabel($this->getFieldName()); | ->setLabel($this->getFieldName()); | ||||
} | } | ||||
public function getApplicationTransactionTitle( | public function getApplicationTransactionTitle( | ||||
Show All 40 Lines |