Modular
Generic modular page for use with Jadu CMS Homepage content type.
Classname
Photon\CmsEngine\Model\Element\Modular
Attributes
Attribute | Type | Description |
---|---|---|
$title | string | The title of the page |
$homepage | Homepage | The modular content block of the page |
$supplements | array | Array of supplements associated with this article |
$navigation | array | Array of navigation links |
$documents | array | Array of document records associated with this page |
<?php
use Photon\CmsEngine\Model\Element\Modular;
$modular = new Modular();
$modular->setHomepage($homepage);
$modular->setTitle($homepage->getTitle());
$modular->setSupplements($this->getSupplements($homepage));