mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-08 04:48:28 +01:00
22 lines
476 B
PHP
22 lines
476 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorSearchTokenizerField
|
||
|
extends PhabricatorSearchField {
|
||
|
|
||
|
protected function getDefaultValue() {
|
||
|
return array();
|
||
|
}
|
||
|
|
||
|
protected function getValueFromRequest(AphrontRequest $request, $key) {
|
||
|
return $this->getListFromRequest($request, $key);
|
||
|
}
|
||
|
|
||
|
protected function newControl() {
|
||
|
return id(new AphrontFormTokenizerControl())
|
||
|
->setDatasource($this->newDatasource());
|
||
|
}
|
||
|
|
||
|
abstract protected function newDatasource();
|
||
|
|
||
|
}
|