This commit is contained in:
Laurent Destailleur 2011-09-20 22:55:11 +00:00
parent d579c0f405
commit 9740a10d4a
2 changed files with 91 additions and 81 deletions

View File

@ -37,7 +37,13 @@ class BoutiqueCommande
var $id; var $id;
var $nom; var $nom;
function BoutiqueCommande($DB, $id=0)
/**
* Constructor
*
* @param DoliDB $DB Database handler
*/
function BoutiqueCommande($DB)
{ {
$this->db = $DB; $this->db = $DB;
$this->id = $id; $this->id = $id;
@ -50,10 +56,11 @@ class BoutiqueCommande
} }
/** /**
* \brief Get object and lines from database * Get object and lines from database
* \param rowid id of object to load *
* \param ref Ref of order * @param int $id id of object to load
* \return int >0 si ok, <0 si ko * @param string $ref Ref of order
* @return int >0 if OK, <0 if KO
*/ */
function fetch($id,$ref='') function fetch($id,$ref='')
{ {

View File

@ -173,9 +173,12 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
/** /**
* Generate Header * Generate Header
* @param pdf Pdf object *
* @param page Current page number * @param PDF &$pdf Pdf object
* @param pages Total number of pages * @param int $page Current page number
* @param int $pages Total number of pages
* @param Translate $outputlangs Object language for output
* @return void
*/ */
function Header(&$pdf, $page, $pages, $outputlangs) function Header(&$pdf, $page, $pages, $outputlangs)
{ {