Brimbox Logo Brimbox Version 2.3.4 Released


Method to load state array, usually of the current module, from state_table, returns array containing state for the module specified.

Class: bb_work, called as $main and $work

File: bb_work.php (php)


function load($con, $module)


$arr_state = $main->load($con, $module);

global $keeper

Returns: array $arr_state from state_table, empty array if not previously set.

Parameter: $con (database connector)
Database connection with state_table.

Parameter: $module (string)
Module used to extract state from state_table, usually current module.

Updated: 2016-07-08