Update box_project.php

This commit is contained in:
BENKE Charles 2014-06-20 23:38:15 +02:00
parent 8070030c45
commit a31d5cc193

View File

@ -28,7 +28,6 @@ include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
*/ */
class box_project extends ModeleBoxes class box_project extends ModeleBoxes
{ {
var $boxcode="project"; var $boxcode="project";
var $boximg="object_projectpub"; var $boximg="object_projectpub";
var $boxlabel; var $boxlabel;
@ -52,7 +51,8 @@ class box_project extends ModeleBoxes
} }
/** /**
* \brief Charge les donnees en memoire pour affichage ulterieur * Load data for box to show them later
*
* @param int $max Maximum number of records to load * @param int $max Maximum number of records to load
* @return void * @return void
*/ */
@ -143,6 +143,13 @@ class box_project 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);