$modelFactory
$modelFactory : \Charcoal\Factory\FactoryInterface
Store the factory instance for the current class.
Event manager
$currentEvent : \Charcoal\Cms\EventInterface
$nextEvent : \Charcoal\Cms\EventInterface
$prevEvent : \Charcoal\Cms\EventInterface
$all : array<mixed,\Charcoal\Cms\EventInterface>
$entries : array<mixed,\Charcoal\Cms\EventInterface>
$archive : array<mixed,\Charcoal\Cms\EventInterface>
$entry : \Charcoal\Cms\EventInterface
$featList : array<mixed,\Charcoal\Cms\EventInterface>
$loader : \Charcoal\Cms\Service\Loader\EventLoader
all() : array<mixed,\Charcoal\Cms\EventInterface>|\Charcoal\Model\Collection
All available events
The events collection
categoryItem(integer $id) : \Charcoal\Object\CategoryInterface|\Charcoal\Cms\EventCategory
integer | $id | The category id. |
archive() : array<mixed,\Charcoal\Cms\EventInterface>|\Charcoal\Model\Collection
latest() : \Charcoal\Cms\EventInterface|array
Get the latest event.
The latest event.
loader() : \Charcoal\Cms\Service\Loader\EventLoader
setLoader(\Charcoal\Cms\Service\Loader\EventLoader|null $loader) : self
\Charcoal\Cms\Service\Loader\EventLoader|null | $loader | The event loader provider. |
setYear(mixed $year) : \Charcoal\Cms\Service\Manager\EventManager
Full year.
mixed | $year | Full year. |
If argument is not scalar.
setMonth(mixed $month) : \Charcoal\Cms\Service\Manager\EventManager
Month.
mixed | $month | Specific month. |
If argument is not scalar.
setDay(mixed $day) : \Charcoal\Cms\Service\Manager\EventManager
Day.
mixed | $day | Specific day. |
If argument is not scalar.