set_footer
set_footer
set_footer(string $footer)
Parameter | Description |
---|---|
$footer | The custom footer that you want to use for your report. |
try{
$report = new ReportOptions(SRE_PUBLIC_REPORT);
$report->select_tables(array("items"))
->set_footer("the report custom footer goes here")
->select_all_fields();
$engine = new CustomEngine($report);
$report_path = $engine->create_report();
echo "Your report URL:" . $report_path;
} catch (Exception $ex) {
echo 'Caught exception message: '. $ex->getMessage();
}