set_style_name
set_style_name
set_style_name(string $style_name)
Parameter | Description |
---|---|
$style_name | One of "blue", "grey", "teal" or "mobile". |
try{
$report = new ReportOptions(SRE_PUBLIC_REPORT);
$report->select_tables(array("items"))
->set_style_name("grey")
->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();
}