Doxygen
This commit is contained in:
parent
6d2e024d52
commit
7a18240d2f
@ -40,14 +40,14 @@ class InfoBox
|
|||||||
/**
|
/**
|
||||||
* Return array of boxes qualified for area and user
|
* Return array of boxes qualified for area and user
|
||||||
*
|
*
|
||||||
* @param DoliDB $db Database handler
|
* @param DoliDB $db Database handler
|
||||||
* @param string $mode 'available' or 'activated'
|
* @param string $mode 'available' or 'activated'
|
||||||
* @param string $zone Name or area (-1 for all, 0 for Homepage, 1 for xxx, ...)
|
* @param string $zone Name or area (-1 for all, 0 for Homepage, 1 for xxx, ...)
|
||||||
* @param User $user Object user to filter
|
* @param User|null $user Object user to filter
|
||||||
* @param array $excludelist Array of box id (box.box_id = boxes_def.rowid) to exclude
|
* @param array $excludelist Array of box id (box.box_id = boxes_def.rowid) to exclude
|
||||||
* @return array Array of boxes
|
* @return array Array of boxes
|
||||||
*/
|
*/
|
||||||
static function listBoxes($db, $mode, $zone, $user, $excludelist=array())
|
static function listBoxes($db, $mode, $zone, $user=null, $excludelist=array())
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user