interface EventsServiceInterface

Interface to be called for DI for Events Main related services

Methods

cloneObject(Event $eventObject)

Clones the object

Form
createForm(string $name, Event $eventObject)

Shortcut to call EventFormFactory to create Form

defineImage(Event $eventObject)

Defines the image for the Event

delete(Event $eventObject)

Deletes the Event

string
getFolderPictures()

Gets pictures folder from config

string
getPictureName(Event $eventObject)

Get filename for the picture

string
getPicturePath(Event $eventObject)

Get full picture path

array
getEventsAll()

Gets all the Events, even those suppressed

array
getEventsNotFinished()

Gets all the Events not finished

register(Event $eventObject)

Registers the Event

Details

at line 26
Event cloneObject(Event $eventObject)

Clones the object

Parameters

Event $eventObject

Return Value

Event

at line 32
Form createForm(string $name, Event $eventObject)

Shortcut to call EventFormFactory to create Form

Parameters

string $name
Event $eventObject

Return Value

Form

at line 37
defineImage(Event $eventObject)

Defines the image for the Event

Parameters

Event $eventObject

at line 42
delete(Event $eventObject)

Deletes the Event

Parameters

Event $eventObject

at line 48
string getFolderPictures()

Gets pictures folder from config

Return Value

string

at line 54
string getPictureName(Event $eventObject)

Get filename for the picture

Parameters

Event $eventObject

Return Value

string

at line 60
string getPicturePath(Event $eventObject)

Get full picture path

Parameters

Event $eventObject

Return Value

string

at line 66
array getEventsAll()

Gets all the Events, even those suppressed

Return Value

array

at line 72
array getEventsNotFinished()

Gets all the Events not finished

Return Value

array

at line 77
register(Event $eventObject)

Registers the Event

Parameters

Event $eventObject