EventOccurrenceService
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.
Details
        
                            
    __construct(EntityManagerInterface $entityManagerInterface)
        
    
    No description
        
                            CalendarEventVersionOccurrence
    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