class EventOccurrenceService (View source)

Properties

protected $entityManager

Methods

__construct(EntityManagerInterface $entityManagerInterface)

No description

getByID($versionOccurrenceID)

No description

getByOccurrenceID($occurrenceID, $retrieveVersion = EventService::EVENT_VERSION_APPROVED)

This code below retrieves based on the occurrence ID which can remain the same across versions.

save(CalendarEventVersionOccurrence $occurrence)

No description

delete(CalendarEventVersion $version, CalendarEventOccurrence $occurrence)

No description

cancel(CalendarEventVersionOccurrence $occurrence)

No description

Details

__construct(EntityManagerInterface $entityManagerInterface)

No description

Parameters

EntityManagerInterface $entityManagerInterface

CalendarEventVersionOccurrence getByID($versionOccurrenceID)

No description

Parameters

$versionOccurrenceID

Return Value

CalendarEventVersionOccurrence

getByOccurrenceID($occurrenceID, $retrieveVersion = EventService::EVENT_VERSION_APPROVED)

This code below retrieves based on the occurrence ID which can remain the same across versions.

Parameters

$occurrenceID
$retrieveVersion

save(CalendarEventVersionOccurrence $occurrence)

No description

Parameters

CalendarEventVersionOccurrence $occurrence

delete(CalendarEventVersion $version, CalendarEventOccurrence $occurrence)

No description

Parameters

CalendarEventVersion $version
CalendarEventOccurrence $occurrence

cancel(CalendarEventVersionOccurrence $occurrence)

No description

Parameters

CalendarEventVersionOccurrence $occurrence