|
dolibarr 20.0.5
|
Class to generate event report. More...
Public Member Functions | |
| __construct ($db, $month, $year) | |
| Constructor. | |
| write_file ($socid, $outputlangs) | |
| Write the object to document file to disk. | |
Private Member Functions | |
| _pages (&$pdf, $outputlangs) | |
| Write content of pages. | |
| _pagehead (&$pdf, $outputlangs, $pagenb) | |
| Show top header of page. | |
Class to generate event report.
Definition at line 37 of file pdf_standard_actions.class.php.
| pdf_standard_actions::__construct | ( | $db, | |
| $month, | |||
| $year ) |
Constructor.
Definition at line 91 of file pdf_standard_actions.class.php.
References description, getDolGlobalInt(), pdf_getFormat(), and type.
|
private |
Show top header of page.
| TCPDF | Object PDF | |
| Translate | $outputlangs | Object lang for output |
| int | $pagenb | Page nb |
Definition at line 361 of file pdf_standard_actions.class.php.
References pdf_getPDFFont().
Referenced by _pages().
|
private |
Write content of pages.
| TCPDF | Object pdf | |
| Translate | $outputlangs | Object langs |
Definition at line 232 of file pdf_standard_actions.class.php.
References _pagehead(), dol_get_first_day(), dol_get_last_day(), dol_htmlentitiesbr_decode(), dol_nboflines(), dol_print_date(), dol_string_nohtmltag(), dol_syslog(), dol_trunc(), dolGetFirstLineOfText(), and getDolGlobalString().
Referenced by write_file().
| pdf_standard_actions::write_file | ( | $socid, | |
| $outputlangs ) |
Write the object to document file to disk.
| int | $socid | Thirdparty id |
| Translate | $outputlangs | Lang object for output language |
Definition at line 127 of file pdf_standard_actions.class.php.
References $object, _pages(), dol_mkdir(), dolChmod(), getDolGlobalString(), pdf_getInstance(), and pdf_getPDFFont().