Differential D12469 Diff 29960 src/applications/typeahead/datasource/PhabricatorTypeaheadMonogramDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/typeahead/datasource/PhabricatorTypeaheadMonogramDatasource.php
<?php | <?php | ||||
final class PhabricatorTypeaheadMonogramDatasource | final class PhabricatorTypeaheadMonogramDatasource | ||||
extends PhabricatorTypeaheadDatasource { | extends PhabricatorTypeaheadDatasource { | ||||
public function isBrowsable() { | public function isBrowsable() { | ||||
// This source isn't meaningfully browsable. Although it's technically | // This source isn't meaningfully browsable. Although it's technically | ||||
// possible to let users browse through every object on an install, there | // possible to let users browse through every object on an install, there | ||||
// is no use case for it and it doesn't seem worth building. | // is no use case for it and it doesn't seem worth building. | ||||
return false; | return false; | ||||
} | } | ||||
public function getBrowseTitle() { | |||||
return pht('Browse Objects'); | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type an object name...'); | return pht('Type an object name...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return null; | return null; | ||||
} | } | ||||
Show All 30 Lines |