Page MenuHomestyx hydra

PhabricatorIDsSearchField.php
No OneTemporary

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
Sat, Nov 15, 10:26 PM (14 m, 34 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
338495
Default Alt Text
PhabricatorIDsSearchField.php (678 B)

Event Timeline