Checkstyle

This commit is contained in:
Laurent Destailleur 2012-07-25 11:35:34 +02:00
parent de621f0567
commit 7d08bd45d6

View File

@ -22,6 +22,9 @@
include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
/**
* Class to manage the box of customer activity (invoice, order, proposal)
*/
class box_activity extends ModeleBoxes
{
var $boxcode="activity";
@ -36,7 +39,7 @@ class box_activity extends ModeleBoxes
var $info_box_contents = array();
/**
* \brief Constructeur de la classe
* Constructor
*/
function box_activity()
{
@ -50,10 +53,12 @@ class box_activity extends ModeleBoxes
}
/**
* \brief Charge les donnees en memoire pour affichage ulterieur
* \param $max Nombre maximum d'enregistrements a charger
* Charge les donnees en memoire pour affichage ulterieur
*
* @param int $max Maximum number of records to load
* @return void
*/
function loadBox()
function loadBox($max=5)
{
global $conf, $user, $langs, $db;
@ -219,6 +224,13 @@ class box_activity extends ModeleBoxes
$this->info_box_contents[$i][5] = array('td' => 'align="right"', 'text' => "");
}
/**
* 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);