Brimbox Logo Brimbox Version 2.3.4 Released


Method to determine whether module is being entered from the browser back button. Sometimes form processing is conditional depending on how a module is entered.

Class: bb_work, called as $main

File: bb_work.php (php)


function back ($module)



global $POST

This function usually compares the current or controller variable $module with the last posted module in $POST['bb_module'] to determine whether a module has been entered with the back button.

Parameter: $module (string)
The module to be compared to the $POST or last posted module.

Updated: 2016-07-08