Navigation menus

This is a test of using standard menus defined by page class. It demonstrate an object oriented approach on using navigation menus.

Please notice that menus defined inside a class over-rules the navmenu config setting (in defaults.site). It will also completely disable scanning for standard.menu files in current directory and its parent directories.


UUP\Site\Page\Context\Menu\StandardMenu Object
(
    [storage:ArrayObject:private] => Array
        (
            [0] => UUP\Site\Page\Context\Menu\MenuData Object
                (
                    [parent] => 
                    [name] => Object Mode
                    [data] => Array
                        (
                            [Page 3] => page3
                            [Page 4] => page4
                        )

                )

        )

)
UUP\Site\Page\Context\Menus Object
(
    [_topmenu:UUP\Site\Page\Context\Menus:private] => 
    [_navmenu:UUP\Site\Page\Context\Menus:private] => Array
        (
            [head] => Object Mode
            [data] => Array
                (
                    [Page 3] => page3
                    [Page 4] => page4
                )

        )

    [_sidebar:UUP\Site\Page\Context\Menus:private] => 1
    [nav] => UUP\Site\Page\Context\Menu\StandardMenu Object
        (
            [storage:ArrayObject:private] => Array
                (
                    [0] => UUP\Site\Page\Context\Menu\MenuData Object
                        (
                            [parent] => 
                            [name] => Object Mode
                            [data] => Array
                                (
                                    [Page 3] => page3
                                    [Page 4] => page4
                                )

                        )

                )

        )

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

        )

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

        )

)