Method to retrieve dropdowns, usually
$arr_dropdowns, which contain arrays of all the dropdowns for the columns in a definition or layout.
Class: bb_meta, called as $main
File: bb_meta (php)
function dropdowns($con, $row_type, $key_type = false)
$main->dropdowns($con, $row_type, $key_type)
Returns: array of dropdowns for a given layout, usually called
Note: individual dropdowns are saved in order so no sorting is done in this function.
$con (database connector)
The database connection.
The layout type for which to retrieve dropdowns.
Whether to reduce array keys by integer (
false), string (
true) or neither (
(currently there are no string keys at the layout level).