readNAVAccess

Navigation:  Development > Function Reference > Module > ACL >

readNAVAccess

Previous pageReturn to chapter overviewNext page

Return list of accessible menu list.
 

App::Module('Acl')->readNavAccess(Type);

 

Parameter

Type

Description

Type

Optional

Get top menu all menu list.
Top: Set top navigation list.
All: Return all navigation 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');