dolibarr
9.0.0
|
Library for file auguria menus. More...
Go to the source code of this file.
Functions | |
print_auguria_menu ($db, $atarget, $type_user, &$tabMenu, &$menu, $noout=0, $mode='') | |
Core function to output top menu auguria. More... | |
print_start_menu_array_auguria () | |
Output start menu array. More... | |
print_start_menu_entry_auguria ($idsel, $classname, $showmode) | |
Output start menu entry. More... | |
print_text_menu_entry_auguria ($text, $showmode, $url, $id, $idsel, $classname, $atarget) | |
Output menu entry. More... | |
print_end_menu_entry_auguria ($showmode) | |
Output end menu entry. More... | |
print_end_menu_array_auguria () | |
Output menu array. More... | |
print_left_auguria_menu ($db, $menu_array_before, $menu_array_after, &$tabMenu, &$menu, $noout=0, $forcemainmenu='', $forceleftmenu='', $moredata=null) | |
Core function to output left menu auguria. More... | |
dol_auguria_showmenu ($type_user, &$menuentry, &$listofmodulesforexternal) | |
Function to test if an entry is enabled or not. More... | |
Library for file auguria menus.
Definition in file auguria.lib.php.
dol_auguria_showmenu | ( | $type_user, | |
& | $menuentry, | ||
& | $listofmodulesforexternal | ||
) |
Function to test if an entry is enabled or not.
string | $type_user | 0=We need backoffice menu, 1=We need frontoffice menu |
array | $menuentry | Array for menu entry |
array | $listofmodulesforexternal | Array with list of modules allowed to external users |
Definition at line 616 of file auguria.lib.php.
print_auguria_menu | ( | $db, | |
$atarget, | |||
$type_user, | |||
& | $tabMenu, | ||
& | $menu, | ||
$noout = 0 , |
|||
$mode = '' |
|||
) |
Core function to output top menu auguria.
DoliDB | $db | Database handler |
string | $atarget | Target |
int | $type_user | 0=Menu for backoffice, 1=Menu for front office |
array | $tabMenu | If array with menu entries already loaded, we put this array here (in most cases, it's empty) |
Menu | $menu | Object Menu to return back list of menu entries |
int | $noout | Disable output (Initialise &$menu only). |
string | $mode | 'top', 'topnb', 'left', 'jmobile' |
Definition at line 40 of file auguria.lib.php.
print_end_menu_array_auguria | ( | ) |
print_end_menu_entry_auguria | ( | $showmode | ) |
Output end menu entry.
int | $showmode | 0 = hide, 1 = allowed or 2 = not allowed |
Definition at line 221 of file auguria.lib.php.
References print.
print_left_auguria_menu | ( | $db, | |
$menu_array_before, | |||
$menu_array_after, | |||
& | $tabMenu, | ||
& | $menu, | ||
$noout = 0 , |
|||
$forcemainmenu = '' , |
|||
$forceleftmenu = '' , |
|||
$moredata = null |
|||
) |
Core function to output left menu auguria.
DoliDB | $db | Database handler |
array | $menu_array_before | Table of menu entries to show before entries of menu handler |
array | $menu_array_after | Table of menu entries to show after entries of menu handler |
array | $tabMenu | If array with menu entries already loaded, we put this array here (in most cases, it's empty) |
Menu | $menu | Object Menu to return back list of menu entries |
int | $noout | Disable output (Initialise &$menu only). |
string | $forcemainmenu | 'x'=Force mainmenu to mainmenu='x' |
string | $forceleftmenu | 'all'=Force leftmenu to '' (= all) |
array | $moredata | An array with more data to output |
Definition at line 258 of file auguria.lib.php.
print_start_menu_array_auguria | ( | ) |
print_start_menu_entry_auguria | ( | $idsel, | |
$classname, | |||
$showmode | |||
) |
Output start menu entry.
string | $idsel | Text |
string | $classname | String to add a css class |
int | $showmode | 0 = hide, 1 = allowed or 2 = not allowed |
Definition at line 167 of file auguria.lib.php.
print_text_menu_entry_auguria | ( | $text, | |
$showmode, | |||
$url, | |||
$id, | |||
$idsel, | |||
$classname, | |||
$atarget | |||
) |
Output menu entry.
string | $text | Text |
int | $showmode | 0 = hide, 1 = allowed or 2 = not allowed |
string | $url | Url |
string | $id | Id |
string | $idsel | Id sel |
string | $classname | Class name |
string | $atarget | Target |
Definition at line 189 of file auguria.lib.php.