Differential D25524 Diff 1678 src/applications/calendar/typeahead/PhabricatorCalendarInviteeDatasource.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/typeahead/PhabricatorCalendarInviteeDatasource.php
<?php | <?php | ||||
final class PhabricatorCalendarInviteeDatasource | final class PhabricatorCalendarInviteeDatasource | ||||
extends PhabricatorTypeaheadCompositeDatasource { | extends PhabricatorTypeaheadCompositeDatasource { | ||||
public function getBrowseTitle() { | public function getBrowseTitle() { | ||||
return pht('Browse Invitees'); | return pht('Browse Invitees'); | ||||
} | } | ||||
public function getPlaceholderText() { | public function getPlaceholderText() { | ||||
return pht('Type a user or project name, or function...'); | return pht('Type a user or project name, or function...'); | ||||
} | } | ||||
public function getDatasourceApplicationClass() { | public function getDatasourceApplicationClass() { | ||||
return 'PhabricatorCalendarApplication'; | return PhabricatorCalendarApplication::class; | ||||
} | } | ||||
public function getComponentDatasources() { | public function getComponentDatasources() { | ||||
return array( | return array( | ||||
new PhabricatorCalendarInviteeUserDatasource(), | new PhabricatorCalendarInviteeUserDatasource(), | ||||
new PhabricatorCalendarInviteeViewerFunctionDatasource(), | new PhabricatorCalendarInviteeViewerFunctionDatasource(), | ||||
new DifferentialExactUserFunctionDatasource(), | new DifferentialExactUserFunctionDatasource(), | ||||
new PhabricatorProjectDatasource(), | new PhabricatorProjectDatasource(), | ||||
Show All 30 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