Differential D12469 Diff 29960 src/applications/typeahead/datasource/PhabricatorTypeaheadOwnerDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/typeahead/datasource/PhabricatorTypeaheadOwnerDatasource.php
<?php | <?php | ||||
final class PhabricatorTypeaheadOwnerDatasource | final class PhabricatorTypeaheadOwnerDatasource | ||||
extends PhabricatorTypeaheadCompositeDatasource { | extends PhabricatorTypeaheadCompositeDatasource { | ||||
public function getBrowseTitle() { | |||||
return pht('Browse Owners'); | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type a user name or "none"...'); | return pht('Type a user name or "none"...'); | ||||
} | } | ||||
public function getComponentDatasources() { | public function getComponentDatasources() { | ||||
return array( | return array( | ||||
new PhabricatorPeopleDatasource(), | new PhabricatorPeopleDatasource(), | ||||
new PhabricatorTypeaheadNoOwnerDatasource(), | new PhabricatorTypeaheadNoOwnerDatasource(), | ||||
); | ); | ||||
} | } | ||||
} | } |