dolibarr  7.0.0-beta
Public Member Functions | List of all members
pdf_paiement Class Reference

Classe permettant de generer les rapports de paiement. More...

+ Inheritance diagram for pdf_paiement:

Public Member Functions

 __construct ($db)
 Constructor. More...
 
 write_file ($_dir, $month, $year, $outputlangs)
 Fonction generant la rapport sur le disque. More...
 
 _pagehead (&$pdf, $page, $showaddress, $outputlangs)
 Show top header of page. More...
 
 Body (&$pdf, $page, $lines, $outputlangs)
 Output body. More...
 

Detailed Description

Classe permettant de generer les rapports de paiement.

Definition at line 33 of file pdf_paiement.class.php.

Constructor & Destructor Documentation

pdf_paiement::__construct (   $db)

Constructor.

Parameters
DoliDb$dbDatabase handler

Definition at line 40 of file pdf_paiement.class.php.

References description, pdf_getFormat(), and type.

Member Function Documentation

pdf_paiement::_pagehead ( $pdf,
  $page,
  $showaddress,
  $outputlangs 
)

Show top header of page.

Parameters
PDF$pdfObject PDF
int$pageObject to show
int$showaddress0=no, 1=yes
Translate$outputlangsObject lang for output
Returns
void

Definition at line 348 of file pdf_paiement.class.php.

References $title, dol_mktime(), dol_print_date(), and pdf_getPDFFontSize().

Referenced by Body(), and write_file().

pdf_paiement::Body ( $pdf,
  $page,
  $lines,
  $outputlangs 
)

Output body.

Parameters
PDF$pdfPDF object
string$pagePage
array$linesArray of lines
Translate$outputlangsObject langs
Returns
void

Definition at line 420 of file pdf_paiement.class.php.

References _pagehead(), pdf_getPDFFontSize(), and price().

Referenced by write_file().

pdf_paiement::write_file (   $_dir,
  $month,
  $year,
  $outputlangs 
)

Fonction generant la rapport sur le disque.

Parameters
string$_dirrepertoire
int$monthmois du rapport
int$yearannee du rapport
string$outputlangsLang output object
Returns
int <0 if KO, >0 if OK

Definition at line 96 of file pdf_paiement.class.php.

References _pagehead(), Body(), dol_get_first_day(), dol_get_last_day(), dol_mkdir(), dol_print_date(), dol_print_error(), dol_syslog(), getEntity(), pdf_getInstance(), pdf_getPDFFont(), pdf_getPDFFontSize(), and price().


The documentation for this class was generated from the following file: