Function descriptions
Function “lmb_reportCreatePDF()”
lmb_reportCreatePDF
string lmb_reportCreatePDF(numeric $report_id, numeric $ID, numeric $archive ,string $report_rename=null)
Generate a single PDF report
Parameters
$report_id
$ID
data record ID
$archive
- 1 – Generate only
- 2 – Generate and additionally archive in the file system and link if there is a link to the table. The target folder can be set in the report settings.
$report_rename
Alternative report name. If empty, the report name set in the report settings is used.
Return value
File path of the generated report