Page MenuHomePhorge

PhabricatorPHIDsSearchField.php
No OneTemporary

Size
681 B
Referenced Files
None
Subscribers
None

PhabricatorPHIDsSearchField.php

<?php
final class PhabricatorPHIDsSearchField
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 ConduitPHIDListParameterType())
->setAllowEmptyList(false);
}
}

File Metadata

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

Event Timeline