InfoBox
class InfoBox (View source)
Class to manage boxes on pages. This is an utility class (all is static)
Methods
static string[]
getListOfPagesForBoxes()
Name of positions (See below)
static
listBoxes($dbs, string $mode, $zone, $user = null, $excludelist = array(), $includehidden = 1)
Return array of boxes qualified for area and user
static
saveboxorder($dbs, int|string $zone, $boxorder, $userid = 0)
Save order of boxes for area and user
Details
static string[]
getListOfPagesForBoxes()
Name of positions (See below)
static
listBoxes($dbs, string $mode, $zone, $user = null, $excludelist = array(), $includehidden = 1)
Return array of boxes qualified for area and user
@param DoliDB $dbs Database handler
static
saveboxorder($dbs, int|string $zone, $boxorder, $userid = 0)
Save order of boxes for area and user
@param DoliDB $dbs Database handler