Skip to content

Commit

Permalink
Update box_task.php
Browse files Browse the repository at this point in the history
  • Loading branch information
defrance committed Jun 20, 2014
1 parent a31d5cc commit 24e780c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions htdocs/core/boxes/box_task.php
Expand Up @@ -52,10 +52,12 @@ function box_task()
$this->boxlabel="Tasks";
}

/**
* \brief Charge les donnees en memoire pour affichage ulterieur
* \param $max Nombre maximum d'enregistrements a charger
*/
/**
* Load data for box to show them later
*
* @param int $max Maximum number of records to load
* @return void
*/
function loadBox($max=5)
{
global $conf, $user, $langs, $db;
Expand Down Expand Up @@ -126,6 +128,13 @@ function loadBox($max=5)

}

/**
* 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)
{
parent::showBox($this->info_box_head, $this->info_box_contents);
Expand Down

0 comments on commit 24e780c

Please sign in to comment.