$currentNews
$currentNews : array
Currently displayed news.
$newsManager : \Charcoal\Cms\Service\Manager\NewsManager
newsCategory(\Charcoal\Cms\NewsInterface $news) : \Charcoal\Object\CategoryInterface
\Charcoal\Cms\NewsInterface | $news | Charcoal\Cms\NewsInterface. |
getNewsDateFormat(\Charcoal\Cms\NewsInterface $news) : string
\Charcoal\Cms\NewsInterface | $news | Charcoal\Cms\NewsInterface. |
newsFormatShort(\Charcoal\Cms\NewsInterface $news) : array
Formatting expected in templates
\Charcoal\Cms\NewsInterface | $news | A single news. |
The needed news properties.
newsFormatNav(\Charcoal\Cms\NewsInterface $news) : array
Formatting expected in templates
\Charcoal\Cms\NewsInterface | $news | A single news. |
The needed news properties.
newsFormatFull(\Charcoal\Cms\NewsInterface $news) : array
\Charcoal\Cms\NewsInterface | $news | The current news. |
The needed properties.
newsManager() : \Charcoal\Cms\Service\Manager\NewsManager
When dependency is missing.
setNewsManager(\Charcoal\Cms\Service\Manager\NewsManager $newsManager) : self
\Charcoal\Cms\Service\Manager\NewsManager | $newsManager | The news Manager class. |