Brimbox Logo Brimbox Version 2.3.4 Released

output_report>>

Method to output a custom report defined by a query and certain settings.

Class: bb_reports, called as $main

File: bb_reports.php (php)

Declaration:

function output_report($result, $current, $settings)

Usage:

$main->output_report($result, $current);

Outputs: report from resultset according to parameters specified.

Parameter: $result (db resultset)
Resultset of the query to be displayed.

Parameter: $current (array)
Array containing the current report type, page, and target etc returned from report_type method.

Parameter: $settings (optional array)
Array containing the settings specified for the report based on the report type. Please see http://www.brimbox.com/report-array-parameters/ for more documentation.

 

Updated: 2016-06-16