Differential D17341 Diff 41828 src/applications/calendar/query/PhabricatorCalendarImportLogSearchEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/query/PhabricatorCalendarImportLogSearchEngine.php
| <?php | <?php | ||||
| final class PhabricatorCalendarImportLogSearchEngine | final class PhabricatorCalendarImportLogSearchEngine | ||||
| extends PhabricatorApplicationSearchEngine { | extends PhabricatorApplicationSearchEngine { | ||||
| public function getResultTypeDescription() { | public function getResultTypeDescription() { | ||||
| return pht('Calendar Import Logs'); | return pht('Calendar Import Logs'); | ||||
| } | } | ||||
| public function getApplicationClassName() { | public function getApplicationClassName() { | ||||
| return 'PhabricatorCalendarApplication'; | return 'PhabricatorCalendarApplication'; | ||||
| } | } | ||||
| public function canUseInPanelContext() { | |||||
| return false; | |||||
| } | |||||
| public function newQuery() { | public function newQuery() { | ||||
| return new PhabricatorCalendarImportLogQuery(); | return new PhabricatorCalendarImportLogQuery(); | ||||
| } | } | ||||
| protected function buildCustomSearchFields() { | protected function buildCustomSearchFields() { | ||||
| return array( | return array( | ||||
| id(new PhabricatorPHIDsSearchField()) | id(new PhabricatorPHIDsSearchField()) | ||||
| ->setLabel(pht('Import Sources')) | ->setLabel(pht('Import Sources')) | ||||
| ▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines | |||||