function oa_variable_get in Open Atrium Core 7.2
Return the value of a variable in the current (or specified) space
Parameters
$key:
null $default:
Return value
mixed
File
- modules/
oa_variables/ oa_variables.module, line 17
Code
function oa_variable_get($key, $default = NULL, $gid = NULL) {
list($realm_name, $realm_key) = _oa_variable_realm($gid);
return variable_realm_get($realm_name, $realm_key, $key, $default);
}