dolibarr 21.0.0-alpha
empty.php File Reference

This is an example of an empty top menu handler. More...

Go to the source code of this file.

Classes

class  MenuManager
 Class to manage menu Auguria. More...
 

Functions

 print_start_menu_array_empty ()
 Output menu entry.
 
 print_start_menu_entry_empty ($idsel, $classname, $showmode)
 Output start menu entry.
 
 print_text_menu_entry_empty ($text, $showmode, $url, $id, $idsel, $classname, $atarget, $menuval=array())
 Output menu entry.
 
 print_end_menu_entry_empty ($showmode)
 Output end menu entry.
 
 print_end_menu_array_empty ()
 Output menu array.
 

Detailed Description

This is an example of an empty top menu handler.

Definition in file empty.php.

Function Documentation

◆ print_end_menu_array_empty()

print_end_menu_array_empty ( )

Output menu array.

Returns
void

Definition at line 600 of file empty.php.

Referenced by MenuManager\showmenu().

◆ print_end_menu_entry_empty()

print_end_menu_entry_empty ( $showmode)

Output end menu entry.

Parameters
int$showmode0 = hide, 1 = allowed or 2 = not allowed
Returns
void

Definition at line 587 of file empty.php.

Referenced by MenuManager\showmenu().

◆ print_start_menu_array_empty()

print_start_menu_array_empty ( )

Output menu entry.

Returns
void

Definition at line 502 of file empty.php.

Referenced by MenuManager\showmenu().

◆ print_start_menu_entry_empty()

print_start_menu_entry_empty ( $idsel,
$classname,
$showmode )

Output start menu entry.

Parameters
string$idselText
string$classnameString to add a css class
int$showmode0 = hide, 1 = allowed or 2 = not allowed
Returns
void

Definition at line 516 of file empty.php.

Referenced by MenuManager\showmenu().

◆ print_text_menu_entry_empty()

print_text_menu_entry_empty ( $text,
$showmode,
$url,
$id,
$idsel,
$classname,
$atarget,
$menuval = array() )

Output menu entry.

Parameters
string$textText
int$showmode1 or 2
string$urlUrl
string$idId
string$idselId sel
string$classnameClass name
string$atargetTarget
array{}|array{rowid:string,fk_menu:string,langs:string,enabled:int<0,2>,type:string,fk_mainmenu:string,fk_leftmenu:string,url:string,titre:string,perms:string,target:string,mainmenu:string,leftmenu:string,position:int,level?:int,prefix:string}$menuval All the $menuval array
Returns
void

Definition at line 538 of file empty.php.

References dol_escape_htmltag(), and getDolGlobalString().

Referenced by MenuManager\showmenu().