Differential D8286 Diff 19727 src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldSelect.php
Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldSelect.php
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | public function appendToApplicationSearchForm( | ||||
| $form->appendChild($control); | $form->appendChild($control); | ||||
| } | } | ||||
| private function getOptions() { | private function getOptions() { | ||||
| return $this->getFieldConfigValue('options', array()); | return $this->getFieldConfigValue('options', array()); | ||||
| } | } | ||||
| public function renderEditControl() { | public function renderEditControl(array $handles) { | ||||
| return id(new AphrontFormSelectControl()) | return id(new AphrontFormSelectControl()) | ||||
| ->setLabel($this->getFieldName()) | ->setLabel($this->getFieldName()) | ||||
| ->setCaption($this->getCaption()) | ->setCaption($this->getCaption()) | ||||
| ->setName($this->getFieldKey()) | ->setName($this->getFieldKey()) | ||||
| ->setValue($this->getFieldValue()) | ->setValue($this->getFieldValue()) | ||||
| ->setOptions($this->getOptions()); | ->setOptions($this->getOptions()); | ||||
| } | } | ||||
| Show All 39 Lines | |||||