Variables are stored in the {VARS} table (ex: g3_vars).
Variables could be of any type supported by PHP.
Check [Settings/Advanced] section of Admin dashboard for list of variables currently used by the system.
WARNING: Change these values at your own risk!
$var = module::get_var($module_name, $variable_name, $default_value) - returns stored value for specified variable
Parameters:
module::set_var($module_name, $variable_name, $new_value]) - stores a new value for specified variable
Parameters:
module::clear_var($module_name, $variable_name) - removes any references to the variable from VARS table
Parameters:
module::incr_var($module_name, $variable_name, $increment) - Increments value of the stored variable by $increment
Parameters: