PHP Class Menu_Main, atk4
It is based on arrays of all possible menu entries.
It reads the access levels of those entries.
It removes the menu entries the currently logged-in user has no access to, and keeps the rest.
It originally self-organized the entries such that the ones used clicked often came earlier in the menu.
But menu entries moving around creates confusion.
Therefore it was removed again.
Mostra file
Open project: atk4/atk4
Class Usage Examples
Public Properties
Public Methods
Method Details
defaultTemplate()
public method
Property Details