Changeset View
Changeset View
Standalone View
Standalone View
src/applications/legalpad/typeahead/LegalpadDocumentDatasource.php
<?php | <?php | ||||
final class LegalpadDocumentDatasource extends PhabricatorTypeaheadDatasource { | final class LegalpadDocumentDatasource extends PhabricatorTypeaheadDatasource { | ||||
public function isBrowsable() { | public function isBrowsable() { | ||||
// TODO: This should be made browsable. | // TODO: This should be made browsable. | ||||
return false; | return false; | ||||
} | } | ||||
public function getBrowseTitle() { | |||||
return pht('Browse Documents'); | |||||
} | |||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type a document name...'); | return pht('Type a document name...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorLegalpadApplication'; | return 'PhabricatorLegalpadApplication'; | ||||
} | } | ||||
Show All 19 Lines |