3 final class PhabricatorSearchSelectField
4 extends PhabricatorSearchField
{
9 public function setOptions(array $options) {
10 $this->options
= $options;
14 public function getOptions() {
15 return $this->options
;
18 protected function getDefaultValue() {
19 return $this->default;
22 public function setDefault($default) {
23 $this->default = $default;
27 protected function getValueFromRequest(AphrontRequest
$request, $key) {
28 return $request->getStr($key);
31 protected function newControl() {
32 return id(new AphrontFormSelectControl())
33 ->setOptions($this->getOptions());