Navigation menus

Examples on using navigation menus, both defined by class or in external files.


UUP\Site\Page\Context\Menu\StandardMenu Object
(
    [storage:ArrayObject:private] => Array
        (
            [1] => UUP\Site\Page\Context\Menu\MenuData Object
                (
                    [parent] => ..
                    [name] => Root
                    [data] => Array
                        (
                            [Page 1] => ../page1.php
                            [Page 2] => ../page2.php
                        )

                )

        )

)
UUP\Site\Page\Context\Menus Object
(
    [_topmenu:UUP\Site\Page\Context\Menus:private] => 
    [_navmenu:UUP\Site\Page\Context\Menus:private] => 1
    [_sidebar:UUP\Site\Page\Context\Menus:private] => 1
    [nav] => UUP\Site\Page\Context\Menu\StandardMenu Object
        (
            [storage:ArrayObject:private] => Array
                (
                    [1] => UUP\Site\Page\Context\Menu\MenuData Object
                        (
                            [parent] => ..
                            [name] => Root
                            [data] => Array
                                (
                                    [Page 1] => ../page1.php
                                    [Page 2] => ../page2.php
                                )

                        )

                )

        )

    [top] => UUP\Site\Page\Context\Menu\TopMenu Object
        (
            [storage:ArrayObject:private] => Array
                (
                )

        )

    [side] => UUP\Site\Page\Context\Menu\SideMenu Object
        (
            [storage:ArrayObject:private] => Array
                (
                )

        )

)