Differential D12523 Diff 30082 src/applications/people/typeahead/PhabricatorPeopleNoOwnerDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/typeahead/PhabricatorPeopleNoOwnerDatasource.php
- This file was moved from src/applications/maniphest/typeahead/ManiphestNoOwnerDatasource.php.
<?php | <?php | ||||
final class ManiphestNoOwnerDatasource | final class PhabricatorPeopleNoOwnerDatasource | ||||
extends PhabricatorTypeaheadDatasource { | extends PhabricatorTypeaheadDatasource { | ||||
const FUNCTION_TOKEN = 'none()'; | const FUNCTION_TOKEN = 'none()'; | ||||
public function getBrowseTitle() { | public function getBrowseTitle() { | ||||
return pht('Browse No Owner'); | return pht('Browse No Owner'); | ||||
} | } | ||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type "none"...'); | return pht('Type "none"...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorManiphestApplication'; | return 'PhabricatorPeopleApplication'; | ||||
} | } | ||||
public function getDatasourceFunctions() { | public function getDatasourceFunctions() { | ||||
return array( | return array( | ||||
'none' => array( | 'none' => array( | ||||
'name' => pht('No Owner'), | 'name' => pht('No Owner'), | ||||
'summary' => pht('Find results which are not assigned.'), | 'summary' => pht('Find results which are not assigned.'), | ||||
'description' => pht( | 'description' => pht( | ||||
▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines |