$modelFactory
$modelFactory : \Charcoal\Factory\FactoryInterface
Store the factory instance for the current class.
News manager
$currentNews : \Charcoal\Cms\NewsInterface
$nextNews : \Charcoal\Cms\NewsInterface
$prevNews : \Charcoal\Cms\NewsInterface
$all : array<mixed,\Charcoal\Cms\NewsInterface>
$entries : array<mixed,\Charcoal\Cms\NewsInterface>
$archive : array<mixed,\Charcoal\Cms\NewsInterface>
$entry : \Charcoal\Cms\NewsInterface
$featList : array<mixed,\Charcoal\Cms\NewsInterface>
$loader : \Charcoal\Cms\Service\Loader\NewsLoader
all() : array<mixed,\Charcoal\Cms\NewsInterface>|\Charcoal\Model\Collection
All available news.
The news collection.
archive() : array<mixed,\Charcoal\Cms\NewsInterface>|\Charcoal\Model\Collection
latest() : \Charcoal\Cms\NewsInterface|array
Get the latest news.
The latest news.
loader() : \Charcoal\Cms\Service\Loader\NewsLoader
setLoader(\Charcoal\Cms\Service\Loader\NewsLoader $loader) : self
\Charcoal\Cms\Service\Loader\NewsLoader | $loader | The news loader provider. |