You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shea Lewis edited this page Nov 16, 2015
·
1 revision
Assigning Meta Data
The package provides the means to add any number of additional meta data to your menu items. It can be anything from item order placement information to permissions required to view or access the item's link, to anything else you can think of or need. This is achievable by utilizing the data() method against your menu item.
Once meta data has been assigned, you may also retrieve the information back:
...echo$menu->dashboard->order; // Will echo 0echo$menu->dashboard->permission; // Will echo "view_admin_dashboard"echo$menu->dashboard->lorem; // Will echo "ipsum"...