Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/query/PhabricatorCalendarEventQuery.php
Show First 20 Lines • Show All 507 Lines • ▼ Show 20 Lines | final class PhabricatorCalendarEventQuery | ||||
protected function shouldGroupQueryResultRows() { | protected function shouldGroupQueryResultRows() { | ||||
if ($this->inviteePHIDs !== null) { | if ($this->inviteePHIDs !== null) { | ||||
return true; | return true; | ||||
} | } | ||||
return parent::shouldGroupQueryResultRows(); | return parent::shouldGroupQueryResultRows(); | ||||
} | } | ||||
public function getQueryApplicationClass() { | public function getQueryApplicationClass() { | ||||
return 'PhabricatorCalendarApplication'; | return PhabricatorCalendarApplication::class; | ||||
} | } | ||||
protected function willFilterPage(array $events) { | protected function willFilterPage(array $events) { | ||||
$instance_of_event_phids = array(); | $instance_of_event_phids = array(); | ||||
$recurring_events = array(); | $recurring_events = array(); | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
$events = $this->getEventsInRange($events); | $events = $this->getEventsInRange($events); | ||||
▲ Show 20 Lines • Show All 227 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