Return list of accessible menu list.
App::Module('Acl')->readNavAccess(Type);
Parameter |
Type |
Description |
---|---|---|
Type |
Optional |
Get top menu all menu list. |
See below example:
// Return all top menu list
$result = App::Module('Acl')->readNavAccess();
// Return all top menu list
$result = App::Module('Acl')->readNavAccess('All');