Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/storage/PhabricatorCalendarEvent.php
Show First 20 Lines • Show All 451 Lines • ▼ Show 20 Lines | final class PhabricatorCalendarEvent extends PhabricatorCalendarDAO | ||||
} | } | ||||
public function attachParentEvent($event) { | public function attachParentEvent($event) { | ||||
$this->parentEvent = $event; | $this->parentEvent = $event; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function isParentEvent() { | public function isParentEvent() { | ||||
return ($this->isRecurring && !$this->instanceOfEventPHID); | return ($this->getIsRecurring() && !$this->getInstanceOfEventPHID()); | ||||
} | } | ||||
public function isChildEvent() { | public function isChildEvent() { | ||||
return ($this->instanceOfEventPHID !== null); | return ($this->instanceOfEventPHID !== null); | ||||
} | } | ||||
public function isCancelledEvent() { | public function isCancelledEvent() { | ||||
if ($this->getIsCancelled()) { | if ($this->getIsCancelled()) { | ||||
▲ Show 20 Lines • Show All 312 Lines • Show Last 20 Lines |