You are here

function oa_variable_set in Open Atrium Core 7.2

Set a variable in the current (or specified) space

Parameters

$key:

$value:

File

modules/oa_variables/oa_variables.module, line 27

Code

function oa_variable_set($key, $value, $gid = NULL) {
  list($realm_name, $realm_key) = _oa_variable_realm($gid);
  variable_realm_set($realm_name, $realm_key, $key, $value);
}