Differential D12469 Diff 29960 src/applications/typeahead/datasource/PhabricatorTypeaheadUserParameterizedDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/typeahead/datasource/PhabricatorTypeaheadUserParameterizedDatasource.php
<?php | <?php | ||||
final class PhabricatorTypeaheadUserParameterizedDatasource | final class PhabricatorTypeaheadUserParameterizedDatasource | ||||
extends PhabricatorTypeaheadCompositeDatasource { | extends PhabricatorTypeaheadCompositeDatasource { | ||||
public function getBrowseTitle() { | |||||
return pht('Browse Users'); | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type a username or selector...'); | return pht('Type a username or function...'); | ||||
} | } | ||||
public function getComponentDatasources() { | public function getComponentDatasources() { | ||||
$sources = array( | $sources = array( | ||||
new PhabricatorViewerDatasource(), | new PhabricatorViewerDatasource(), | ||||
new PhabricatorPeopleDatasource(), | new PhabricatorPeopleDatasource(), | ||||
new PhabricatorProjectMembersDatasource(), | new PhabricatorProjectMembersDatasource(), | ||||
); | ); | ||||
return $sources; | return $sources; | ||||
} | } | ||||
} | } |