class Event

Entity Event (linked to DB table events)

Properties

protected int $id Event unique id
protected bool $suppressed If Event is marked as suppressed
protected string $title Title of the Event
protected string $slug Slug for the Event
protected DateTime $startDate Start date for the Event
protected DateTime $startTime Start Time for the Event
protected DateTime $endDate End date for the Event
protected DateTime $endTime End time for the Event
protected string $place Place for the Event
protected string $description Description for the Event
protected mixed $picture Picture for the Event (not mapped in DB)

Methods

int
getId()

Get id

setSuppressed(bool|null $suppressed)

Set suppressed

bool|null
getSuppressed()

Get suppressed

setTitle(string|null $title)

Set title

string|null
getTitle()

Get title

setSlug(string|null $slug)

Set slug

string|null
getSlug()

Get slug

setStartDate(DateTime|null $startDate)

Set startDate

DateTime|null
getStartDate()

Get startDate

setStartTime(DateTime|null $startTime)

Set startTime

DateTime|null
getStartTime()

Get startTime

setEndDate(DateTime|null $endDate)

Set endDate

DateTime|null
getEndDate()

Get endDate

setEndTime(DateTime|null $endTime)

Set endTime

DateTime|null
getEndTime()

Get endTime

setPlace(string|null $place)

Set place

string|null
getPlace()

Get place

setDescription(string|null $description)

Set description

string|null
getDescription()

Get description

setPicture(string|null $picture)

Set picture

string|null
getPicture()

Get picture

Details

at line 123
int getId()

Get id

Return Value

int

at line 133
Event setSuppressed(bool|null $suppressed)

Set suppressed

Parameters

bool|null $suppressed

Return Value

Event

at line 144
bool|null getSuppressed()

Get suppressed

Return Value

bool|null

at line 154
Event setTitle(string|null $title)

Set title

Parameters

string|null $title

Return Value

Event

at line 165
string|null getTitle()

Get title

Return Value

string|null

at line 175
Event setSlug(string|null $slug)

Set slug

Parameters

string|null $slug

Return Value

Event

at line 186
string|null getSlug()

Get slug

Return Value

string|null

at line 196
Event setStartDate(DateTime|null $startDate)

Set startDate

Parameters

DateTime|null $startDate

Return Value

Event

at line 207
DateTime|null getStartDate()

Get startDate

Return Value

DateTime|null

at line 217
Event setStartTime(DateTime|null $startTime)

Set startTime

Parameters

DateTime|null $startTime

Return Value

Event

at line 228
DateTime|null getStartTime()

Get startTime

Return Value

DateTime|null

at line 238
Event setEndDate(DateTime|null $endDate)

Set endDate

Parameters

DateTime|null $endDate

Return Value

Event

at line 249
DateTime|null getEndDate()

Get endDate

Return Value

DateTime|null

at line 259
Event setEndTime(DateTime|null $endTime)

Set endTime

Parameters

DateTime|null $endTime

Return Value

Event

at line 270
DateTime|null getEndTime()

Get endTime

Return Value

DateTime|null

at line 280
Event setPlace(string|null $place)

Set place

Parameters

string|null $place

Return Value

Event

at line 291
string|null getPlace()

Get place

Return Value

string|null

at line 301
Event setDescription(string|null $description)

Set description

Parameters

string|null $description

Return Value

Event

at line 312
string|null getDescription()

Get description

Return Value

string|null

at line 322
Event setPicture(string|null $picture)

Set picture

Parameters

string|null $picture

Return Value

Event

at line 333
string|null getPicture()

Get picture

Return Value

string|null