Checkstyle
This commit is contained in:
parent
de621f0567
commit
7d08bd45d6
@ -22,6 +22,9 @@
|
|||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
|
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
|
class box_activity extends ModeleBoxes
|
||||||
{
|
{
|
||||||
var $boxcode="activity";
|
var $boxcode="activity";
|
||||||
@ -36,7 +39,7 @@ class box_activity extends ModeleBoxes
|
|||||||
var $info_box_contents = array();
|
var $info_box_contents = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Constructeur de la classe
|
* Constructor
|
||||||
*/
|
*/
|
||||||
function box_activity()
|
function box_activity()
|
||||||
{
|
{
|
||||||
@ -50,10 +53,12 @@ class box_activity extends ModeleBoxes
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Charge les donnees en memoire pour affichage ulterieur
|
* Charge les donnees en memoire pour affichage ulterieur
|
||||||
* \param $max Nombre maximum d'enregistrements a charger
|
*
|
||||||
|
* @param int $max Maximum number of records to load
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
function loadBox()
|
function loadBox($max=5)
|
||||||
{
|
{
|
||||||
global $conf, $user, $langs, $db;
|
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' => "");
|
$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)
|
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);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user