dolibarr 21.0.0-alpha
|
Function to rebuild PDF and merge PDF files into one. More...
Go to the source code of this file.
Functions | |
rebuild_merge_pdf ($db, $langs, $conf, $diroutputpdf, $newlangid, $filter, $dateafterdate, $datebeforedate, $paymentdateafter, $paymentdatebefore, $usestdout, $regenerate='', $filesuffix='', $paymentbankid='', $thirdpartiesid=[], $fileprefix='mergedpdf') | |
Function to build a compiled PDF. | |
Function to rebuild PDF and merge PDF files into one.
Definition in file invoice2.lib.php.
rebuild_merge_pdf | ( | $db, | |
$langs, | |||
$conf, | |||
$diroutputpdf, | |||
$newlangid, | |||
$filter, | |||
$dateafterdate, | |||
$datebeforedate, | |||
$paymentdateafter, | |||
$paymentdatebefore, | |||
$usestdout, | |||
$regenerate = '', | |||
$filesuffix = '', | |||
$paymentbankid = '', | |||
$thirdpartiesid = [], | |||
$fileprefix = 'mergedpdf' ) |
Function to build a compiled PDF.
DoliDB | $db | Database handler |
Translate | $langs | Object langs |
Conf | $conf | Object conf |
string | $diroutputpdf | Dir to output file |
string | $newlangid | Lang id |
array | $filter | Array with filters |
integer | $dateafterdate | Invoice after date |
integer | $datebeforedate | Invoice before date |
integer | $paymentdateafter | Payment after date (must includes hour) |
integer | $paymentdatebefore | Payment before date (must includes hour) |
int | $usestdout | Add information onto standard output |
string | $regenerate | ''=Use existing PDF files, 'nameofpdf'=Regenerate all PDF files using the template |
string | $filesuffix | Suffix to add into file name of generated PDF |
string | $paymentbankid | Only if payment on this bank account id |
array | $thirdpartiesid | List of thirdparties id when using filter=excludethirdpartiesid or filter=onlythirdpartiesid |
string | $fileprefix | Prefix to add into filename of generated PDF |
Definition at line 52 of file invoice2.lib.php.
References dol_is_file(), dol_mkdir(), dol_print_error(), dol_syslog(), dolChmod(), getDolGlobalString(), pdf_getFormat(), pdf_getInstance(), and pdf_getPDFFont().