|
dolibarr
13.0.2
|
Class to generate event report. More...
Public Member Functions | |
| __construct ($db, $month, $year) | |
| Constructor. More... | |
| write_file ($socid=0, $catid=0, $outputlangs= '') | |
| Write the object to document file to disk. More... | |
Private Member Functions | |
| _pages (&$pdf, $outputlangs) | |
| Write content of pages. More... | |
| _pagehead (&$pdf, $outputlangs, $pagenb) | |
| Show top header of page. More... | |
Class to generate event report.
Definition at line 36 of file rapport.pdf.php.
| CommActionRapport::__construct | ( | $db, | |
| $month, | |||
| $year | |||
| ) |
Constructor.
Definition at line 74 of file rapport.pdf.php.
References db, description, pdf_getFormat(), and type.
|
private |
Show top header of page.
| Object PDF | ||
| Translate | $outputlangs | Object lang for output |
| int | $pagenb | Page nb |
Definition at line 342 of file rapport.pdf.php.
References pdf_getPDFFont().
Referenced by _pages().
|
private |
Write content of pages.
| Object pdf | ||
| Translate | $outputlangs | Object langs |
Definition at line 216 of file rapport.pdf.php.
References $resql, _pagehead(), db, dol_get_first_day(), dol_get_last_day(), dol_htmlentitiesbr_decode(), dol_nboflines(), dol_print_date(), dol_string_nohtmltag(), dol_syslog(), dol_trunc(), and dolGetFirstLineOfText().
Referenced by write_file().
| CommActionRapport::write_file | ( | $socid = 0, |
|
$catid = 0, |
|||
$outputlangs = '' |
|||
| ) |
Write the object to document file to disk.
| int | $socid | Thirdparty id |
| int | $catid | Cat id |
| Translate | $outputlangs | Lang object for output language |
Definition at line 111 of file rapport.pdf.php.
References _pages(), db, dol_mkdir(), pdf_getInstance(), and pdf_getPDFFont().