Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Feature: Menu #2

Open
rathesDot opened this issue Nov 2, 2017 · 0 comments
Open

Feature: Menu #2

rathesDot opened this issue Nov 2, 2017 · 0 comments
Assignees

Comments

@rathesDot
Copy link
Member

Every page should be rendered with an instance of a Menu class that is in charge for handling the page structure based tasks.

For example $menu->all() should return all pages and $menu->current() should return the current page.

One should be possible to render a menu using the functions Menu has to offer:

  • get all pages and their children
  • get the current page
  • get all ancestors/decendants/siblings of a given page
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant