Differential D25524 Diff 1678 src/applications/calendar/typeahead/PhabricatorCalendarInviteeViewerFunctionDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/typeahead/PhabricatorCalendarInviteeViewerFunctionDatasource.php
<?php | <?php | ||||
final class PhabricatorCalendarInviteeViewerFunctionDatasource | final class PhabricatorCalendarInviteeViewerFunctionDatasource | ||||
extends PhabricatorTypeaheadDatasource { | extends PhabricatorTypeaheadDatasource { | ||||
public function getBrowseTitle() { | public function getBrowseTitle() { | ||||
return pht('Browse Viewer'); | return pht('Browse Viewer'); | ||||
} | } | ||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type viewer()...'); | return pht('Type viewer()...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorPeopleApplication'; | return PhabricatorPeopleApplication::class; | ||||
} | } | ||||
public function getDatasourceFunctions() { | public function getDatasourceFunctions() { | ||||
return array( | return array( | ||||
'viewer' => array( | 'viewer' => array( | ||||
'name' => pht('Current Viewer'), | 'name' => pht('Current Viewer'), | ||||
'summary' => pht('Use the current viewing user.'), | 'summary' => pht('Use the current viewing user.'), | ||||
'description' => pht( | 'description' => pht( | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0