\Charcoal\CmsEventInterface

Summary

Methods
Constants
setTitle()
title()
setSubtitle()
subtitle()
setContent()
content()
setStartDate()
startDate()
setEndDate()
endDate()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setTitle()

setTitle(mixed  $title) : self

Parameters

mixed $title

Event title (localized).

Returns

self

title()

title() : \Charcoal\Translator\Translation|string|null

Returns

\Charcoal\Translator\Translation|string|null

setSubtitle()

setSubtitle(mixed  $subtitle) : self

Parameters

mixed $subtitle

Event subtitle (localized).

Returns

self

subtitle()

subtitle() : \Charcoal\Translator\Translation|string|null

Returns

\Charcoal\Translator\Translation|string|null

setContent()

setContent(mixed  $content) : self

Parameters

mixed $content

Event content (localized).

Returns

self

content()

content() : \Charcoal\Translator\Translation|string|null

Returns

\Charcoal\Translator\Translation|string|null

setStartDate()

setStartDate(string|\DateTimeInterface  $startDate) : self

Parameters

string|\DateTimeInterface $startDate

Event starting date.

Returns

self

startDate()

startDate() : \DateTimeInterface|null

Returns

\DateTimeInterface|null

setEndDate()

setEndDate(string|\DateTimeInterface  $endDate) : self

Parameters

string|\DateTimeInterface $endDate

Event end date.

Returns

self

endDate()

endDate() : \DateTimeInterface|null

Returns

\DateTimeInterface|null