codeconsortium/ccdn-gui-bundle

This bundle provides a means to generate Twig renderable UI's from your own custom services

dev-master 2015-03-02 00:20 UTC

This package is not auto-updated.

Last update: 2024-12-21 18:24:48 UTC


README

Twig Renderable Gui Builder using Class derived types

This project is an experimental work in progress

Usages:

    $productMeta = $this->factory->create(SidebarListSubMenu::getType())->setLabel('Product Meta')->setIcon('icon-folder'); // creates link before before new list?
    $productMeta->addLink('Categories', 'foo', null, []);
    $productMeta->add($this->factory->create(Link::getType())->setLabel('Attributes'));
    $productMeta->add($this->factory->create(Link::getType())->setLabel('Products'));
    $menu->add($productMeta);