Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/customfield/PhabricatorUserBlurbField.php
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | public function applyApplicationTransactionInternalEffects( | ||||
| PhabricatorApplicationTransaction $xaction) { | PhabricatorApplicationTransaction $xaction) { | ||||
| $this->getObject()->loadUserProfile()->setBlurb($xaction->getNewValue()); | $this->getObject()->loadUserProfile()->setBlurb($xaction->getNewValue()); | ||||
| } | } | ||||
| public function readValueFromRequest(AphrontRequest $request) { | public function readValueFromRequest(AphrontRequest $request) { | ||||
| $this->value = $request->getStr($this->getFieldKey()); | $this->value = $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->value) | ->setValue($this->value) | ||||
| ->setLabel($this->getFieldName()); | ->setLabel($this->getFieldName()); | ||||
| } | } | ||||
| public function renderPropertyViewLabel() { | public function renderPropertyViewLabel() { | ||||
| return null; | return null; | ||||
| Show All 18 Lines | |||||