Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/typeahead/AlmanacInterfaceDatasource.php
<?php | <?php | ||||
final class AlmanacInterfaceDatasource | final class AlmanacInterfaceDatasource | ||||
extends PhabricatorTypeaheadDatasource { | extends PhabricatorTypeaheadDatasource { | ||||
public function isBrowsable() { | |||||
// TODO: We should make this browsable, but need to make the result set | |||||
// orderable by device name. | |||||
return false; | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type an interface name...'); | return pht('Type an interface name...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorAlmanacApplication'; | return 'PhabricatorAlmanacApplication'; | ||||
} | } | ||||
Show All 38 Lines |