\Charcoal\CmsNewsInterface

Summary

Methods
Constants
setTitle()
title()
setSubtitle()
subtitle()
setContent()
content()
setNewsDate()
newsDate()
setInfoUrl()
infoUrl()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setTitle()

setTitle(mixed  $title) : self

Parameters

mixed $title

News 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

News 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

News content (localized).

Returns

self

content()

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

Returns

\Charcoal\Translator\Translation|string|null

setNewsDate()

setNewsDate(mixed  $newsDate) : self

Parameters

mixed $newsDate

The news date.

Returns

self

newsDate()

newsDate() : \DateTimeInterface|null

Returns

\DateTimeInterface|null

setInfoUrl()

setInfoUrl(mixed  $url) : self

Parameters

mixed $url

The URL that provides additional information ont he news (localized).

Returns

self

infoUrl()

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

Returns

\Charcoal\Translator\Translation|string|null