Differential D20537 Diff 48981 src/applications/differential/typeahead/DifferentialReviewerFunctionDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/typeahead/DifferentialReviewerFunctionDatasource.php
- This file was added.
<?php | |||||
final class DifferentialReviewerFunctionDatasource | |||||
extends PhabricatorTypeaheadCompositeDatasource { | |||||
public function getBrowseTitle() { | |||||
return pht('Browse Reviewers'); | |||||
} | |||||
public function getPlaceholderText() { | |||||
return pht('Type a user, project, package name or function...'); | |||||
} | |||||
public function getDatasourceApplicationClass() { | |||||
return 'PhabricatorDifferentialApplication'; | |||||
} | |||||
public function getComponentDatasources() { | |||||
return array( | |||||
new PhabricatorProjectOrUserFunctionDatasource(), | |||||
new PhabricatorOwnersPackageFunctionDatasource(), | |||||
new DifferentialNoReviewersDatasource(), | |||||
); | |||||
} | |||||
} |