OPEN SOURCE SOCIAL NETWORK 6.6
Loading...
Searching...
No Matches
OssnMenu Class Reference

Public Member Functions

 __construct ($type='', $options='')
 
 register ()
 
 priorities ($menutype)
 
 maxPriority ($menutype)
 
 sortMenu ($menutype)
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $type = '',
  $options = '' 
)

Initialize the OssnMenu

Returns
void

Member Function Documentation

◆ maxPriority()

maxPriority (   $menutype)

Get the menu max priority

Parameters
string$menutypeA key of menu
Returns
array

◆ priorities()

priorities (   $menutype)

Get the menu item priorities

Parameters
string$menutypeA key of menu
Returns
array

◆ register()

register ( )

Register menu item

Returns
void

◆ sortMenu()

sortMenu (   $menutype)

Sort menu with priority

Parameters
string$menutypeA key of menu
Returns
void

The documentation for this class was generated from the following file: