Brimbox Logo Brimbox Version 2.3.4 Released

back>>

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)

Declaration:

function back ($module)

Usage:

$main->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