Brimbox Logo Brimbox Version 2.3.4 Released


Method to retrieve layouts in array form from the json_table.

Class: bb_meta, called as $main

File: bb_reports.php (php)


function layouts($con, $key_type = false, $sort = true)


$main->layouts($con, $key_type, $sort);

Returns: the layouts array usually called $arr_layouts.

Parameter: $con (database connector)
The database connection.

Parameter: $key_type (boolean)
Whether to reduce array keys by integer (false), string (true) or neither (NULL)
(string keys not implemented).

Parameter: $sort (boolean)
Whether to sort on the order field for the standard layout with integer keys.

Updated: 2016-07-11