Brimbox Logo Brimbox Version 2.3.4 Released

lists>>

Method to retrieve lists in array form from the json_table and sort them by name.

Class: bb_meta, called as $main

File: bb_meta.php (php)

Declaration:

function lists($con, $row_type, $key_type = false, $sort = true)

Usage:

$main->lists($con, $row_type, $key_type, $sort)

Returns: the default lists array usually called $arr_lists.

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

Parameter: $row_type (integer)
The layout type for which to retrieve lists.

Parameter: $key_type (boolean)
Whether to reduce array keys by integer (false), string (true) or neither (NULL)
(currently there are no default string keys).

Parameter: $sort (boolean)
Whether to sort on the name field so lists have a return order.

Updated: 2016-07-11