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.
Mostrar archivo Open project: atk4/atk4 Class Usage Examples

Public Properties

Property Type Description
$current_menu_class

Public Methods

Method Description
defaultTemplate ( ) : array | string Default template.

Method Details

defaultTemplate() public method

Default template.
public defaultTemplate ( ) : array | string
return array | string

Property Details

$current_menu_class public_oe property

public $current_menu_class