dolibarr  7.0.0-beta
Public Member Functions | List of all members
MenuManager Class Reference

Class to manage menu Auguria. More...

Public Member Functions

 __construct ($db, $type_user)
 Constructor. More...
 
 loadMenu ($forcemainmenu='', $forceleftmenu='')
 Load this->tabMenu. More...
 
 showmenu ($mode, $moredata=null)
 Show menu. More...
 
 __construct ($db, $type_user)
 Constructor. More...
 
 loadMenu ($forcemainmenu='', $forceleftmenu='')
 Load this->tabMenu. More...
 
 showmenu ($mode, $moredata=null)
 Show menu. More...
 
 __construct ($db, $type_user)
 Constructor. More...
 
 loadMenu ()
 Load this->tabMenu. More...
 
 showmenu ($mode, $moredata=null)
 Show menu. More...
 

Detailed Description

Class to manage menu Auguria.

Class to manage empty menu.

Class to manage menu Eldy.

Definition at line 29 of file auguria_menu.php.

Constructor & Destructor Documentation

MenuManager::__construct (   $db,
  $type_user 
)

Constructor.

Parameters
DoliDB$dbDatabase handler
int$type_userType of user

Definition at line 48 of file auguria_menu.php.

MenuManager::__construct (   $db,
  $type_user 
)

Constructor.

Parameters
DoliDB$dbDatabase handler
int$type_userType of user

Definition at line 47 of file eldy_menu.php.

MenuManager::__construct (   $db,
  $type_user 
)

Constructor.

Parameters
DoliDB$dbDatabase handler
int$type_userType of user

Definition at line 42 of file empty.php.

Member Function Documentation

MenuManager::loadMenu ( )

Load this->tabMenu.

Returns
void

Definition at line 54 of file empty.php.

MenuManager::loadMenu (   $forcemainmenu = '',
  $forceleftmenu = '' 
)

Load this->tabMenu.

Parameters
string$forcemainmenuTo force mainmenu to load
string$forceleftmenuTo force leftmenu to load
Returns
void

Definition at line 61 of file eldy_menu.php.

MenuManager::loadMenu (   $forcemainmenu = '',
  $forceleftmenu = '' 
)

Load this->tabMenu.

Parameters
string$forcemainmenuTo force mainmenu to load
string$forceleftmenuTo force leftmenu to load
Returns
void

Definition at line 62 of file auguria_menu.php.

MenuManager::showmenu (   $mode,
  $moredata = null 
)

Show menu.

Parameters
string$mode'top', 'left', 'jmobile'
array$moredataAn array with more data to output
Returns
int 0 or nb of top menu entries if $mode = 'topnb'

Definition at line 67 of file empty.php.

References dol_buildpath(), dol_sort_array(), GETPOST(), make_substitutions(), print, print_end_menu_array_empty(), print_end_menu_entry_empty(), print_start_menu_array_empty(), print_start_menu_entry_empty(), and print_text_menu_entry_empty().

MenuManager::showmenu (   $mode,
  $moredata = null 
)

Show menu.

Parameters
string$mode'top', 'topnb', 'left', 'jmobile' (used to get full xml ul/li menu)
array$moredataAn array with more data to output
Returns
int 0 or nb of top menu entries if $mode = 'topnb'

Definition at line 120 of file eldy_menu.php.

References dol_buildpath(), make_substitutions(), print, print_eldy_menu(), and print_left_eldy_menu().

MenuManager::showmenu (   $mode,
  $moredata = null 
)

Show menu.

Parameters
string$mode'top', 'left', 'jmobile' (used to get full xml ul/li menu)
array$moredataAn array with more data to output
Returns
int 0 or nb of top menu entries if $mode = 'topnb'

Definition at line 122 of file auguria_menu.php.

References dol_buildpath(), make_substitutions(), print, print_auguria_menu(), and print_left_auguria_menu().


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