Brimbox Logo Brimbox Version 2.3.4 Released


Method to prepend the module name onto a form variable name.

Class: bb_work, called as $main

File: bb_work.php (php)


function name($name, $module)


$postname = $main->name($name, $module);

Note: often used as $var = $_POST[$main->name('var', $module)];

Returns: string containing form variable name with module name prepended.

Parameter: $name (string)
Name of the form variable to prepend the module name onto.

Parameter: $module(string)
Module name to be prepended to the form name, usually the current module.

Updated: 2016-07-08