Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change item id #48

Open
najdias opened this issue Jun 24, 2015 · 0 comments
Open

Change item id #48

najdias opened this issue Jun 24, 2015 · 0 comments

Comments

@najdias
Copy link

najdias commented Jun 24, 2015

This is a question or a request it depends.

There is some way to change the id property of the menu item?
It's not to add a property called id with $menu->add('xxx', 'xxx')->attribute('id', 1) what i'm asking. It's like having a method to change the id like

$menu->add('xxx', '#');
$menu->xxx->setId(1);

It will be a good addition to a database menu because it's easier to declare parents and childs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant