Page MenuHomePhorge

PhabricatorIDsSearchField.php
No OneTemporary

Size
678 B
Referenced Files
None
Subscribers
None

PhabricatorIDsSearchField.php

<?php
final class PhabricatorIDsSearchField
extends PhabricatorSearchField {
protected function getDefaultValue() {
return array();
}
protected function getValueFromRequest(AphrontRequest $request, $key) {
return $request->getStrList($key);
}
protected function newControl() {
if (strlen($this->getValueForControl())) {
return new AphrontFormTextControl();
} else {
return null;
}
}
protected function getValueForControl() {
return implode(', ', parent::getValueForControl());
}
protected function newConduitParameterType() {
return id(new ConduitIntListParameterType())
->setAllowEmptyList(false);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 5, 10:34 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
74492
Default Alt Text
PhabricatorIDsSearchField.php (678 B)

Event Timeline