3 final class PhabricatorSearchStringListField
4 extends PhabricatorSearchField
{
8 public function setPlaceholder($placeholder) {
9 $this->placeholder
= $placeholder;
13 public function getPlaceholder() {
14 return $this->placeholder
;
17 protected function getDefaultValue() {
21 protected function getValueFromRequest(AphrontRequest
$request, $key) {
22 return $request->getStrList($key);
25 protected function newControl() {
26 $control = new AphrontFormTextControl();
28 $placeholder = $this->getPlaceholder();
29 if ($placeholder !== null) {
30 $control->setPlaceholder($placeholder);
36 protected function getValueForControl() {
37 return implode(', ', parent
::getValueForControl());
40 protected function newConduitParameterType() {
41 return new ConduitStringListParameterType();