kunstmaan/bundles-cms
Kunstmaan CMS is a full-featured, multilingual CMS built on the Symfony full-stack framework. It offers page and form assembly, versioning, workflow, translation tools, and media management, plus integrations with community bundles.
Structure pages are a pagetype only used for structuring other pages. They do not have a representation in the frontend side of your project.
<?php
namespace MyProject\WebsiteBundle\Entity\Pages;
use Doctrine\ORM\Mapping as ORM;
use Kunstmaan\NodeBundle\Entity\StructureNode;
/**
* [@ORM](https://github.com/ORM)\Table(name="myproject_structure_pages")
* [@ORM](https://github.com/ORM)\Entity
*/
class StructurePage extends StructureNode
{
/**
* [@return](https://github.com/return) array
*/
public function getPossibleChildTypes()
{
return array(
array(
'name' => 'ContentPage',
'class' => 'MyProject\WebsiteBundle\Entity\Pages\ContentPage'
),
...
}
}
How can I help you explore Laravel packages today?