Brimbox Logo Brimbox Version 2.3.4 Released


Method to output a select dropdown for the different report types based on the global report array.

Class: bb_reports, called as $main

File: bb_reports.php (php)


function report_type($selected, $params = array())


$main->report_type($selected, $params);

global $array_reports;

Outputs: dropdown menu with different report types.

Parameter: $selected (integer)
Current selected report type value.

Parameter: $params (optional array)
Array of HTML parameters to include in the select tag.

Updated: 2016-07-09