Differential D12469 Diff 29960 src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/typeahead/datasource/PhabricatorTypeaheadDatasource.php
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | public function getBrowseURI() { | ||||
} | } | ||||
$uri = new PhutilURI('/typeahead/browse/'.get_class($this).'/'); | $uri = new PhutilURI('/typeahead/browse/'.get_class($this).'/'); | ||||
$uri->setQueryParams($this->parameters); | $uri->setQueryParams($this->parameters); | ||||
return (string)$uri; | return (string)$uri; | ||||
} | } | ||||
abstract public function getPlaceholderText(); | abstract public function getPlaceholderText(); | ||||
public function getBrowseTitle() { | |||||
return get_class($this); | |||||
} | |||||
abstract public function getDatasourceApplicationClass(); | abstract public function getDatasourceApplicationClass(); | ||||
abstract public function loadResults(); | abstract public function loadResults(); | ||||
protected function didLoadResults(array $results) { | protected function didLoadResults(array $results) { | ||||
return $results; | return $results; | ||||
} | } | ||||
public static function tokenizeString($string) { | public static function tokenizeString($string) { | ||||
▲ Show 20 Lines • Show All 315 Lines • Show Last 20 Lines |