<?php require_once '../lib/Kendo/Autoload.php'; ?> <div class="demo-section k-content k-rtl"> <?php $menu = new \Kendo\UI\Menu('menu'); $first = new \Kendo\UI\MenuItem("First Item"); $first->addItem( new \Kendo\UI\MenuItem("Sub Item 1"), new \Kendo\UI\MenuItem("Sub Item 2"), new \Kendo\UI\MenuItem("Sub Item 3"), new \Kendo\UI\MenuItem("Sub Item 4") ); $menu->addItem($first); $second = new \Kendo\UI\MenuItem("Second Item"); $second->addItem( new \Kendo\UI\MenuItem("Sub Item 1"), new \Kendo\UI\MenuItem("Sub Item 2"), new \Kendo\UI\MenuItem("Sub Item 3"), new \Kendo\UI\MenuItem("Sub Item 4") ); $menu->addItem($second); $third = new \Kendo\UI\MenuItem("Third Item"); $third->addItem( new \Kendo\UI\MenuItem("Sub Item 1"), new \Kendo\UI\MenuItem("Sub Item 2"), new \Kendo\UI\MenuItem("Sub Item 3"), new \Kendo\UI\MenuItem("Sub Item 4") ); $menu->addItem($third); echo $menu->render(); ?> </div>