class EventsOnDate (View source)

Helper Model which groups a number of events on a given day. Used especially in the view.

Properties

protected DateTime $day
protected Event[] $events

Methods

__construct(DateTime $day)

No description

add(Event $event)

add another event to this group

array
getEvents()

No description

getDay()

No description

Details

__construct(DateTime $day)

No description

Parameters

DateTime $day

add(Event $event)

add another event to this group

Parameters

Event $event

array getEvents()

No description

Return Value

array

DateTime getDay()

No description

Return Value

DateTime