Update box_task.php

This commit is contained in:
BENKE Charles 2014-06-20 23:39:43 +02:00
parent a31d5cc193
commit 24e780cb0c

View File

@ -52,10 +52,12 @@ class box_task extends ModeleBoxes
$this->boxlabel="Tasks"; $this->boxlabel="Tasks";
} }
/** /**
* \brief Charge les donnees en memoire pour affichage ulterieur * Load data for box to show them later
* \param $max Nombre maximum d'enregistrements a charger *
*/ * @param int $max Maximum number of records to load
* @return void
*/
function loadBox($max=5) function loadBox($max=5)
{ {
global $conf, $user, $langs, $db; global $conf, $user, $langs, $db;
@ -126,6 +128,13 @@ class box_task extends ModeleBoxes
} }
/**
* Method to show box
*
* @param array $head Array with properties of box title
* @param array $contents Array with properties of box lines
* @return void
*/
function showBox($head = null, $contents = null) function showBox($head = null, $contents = null)
{ {
parent::showBox($this->info_box_head, $this->info_box_contents); parent::showBox($this->info_box_head, $this->info_box_contents);