You are here

function _oa_variable_realm in Open Atrium Core 7.2

Helper function to return variable realm data

Parameters

null $gid:

Return value

array

2 calls to _oa_variable_realm()
oa_variable_get in modules/oa_variables/oa_variables.module
Return the value of a variable in the current (or specified) space
oa_variable_set in modules/oa_variables/oa_variables.module
Set a variable in the current (or specified) space

File

modules/oa_variables/oa_variables.module, line 37

Code

function _oa_variable_realm($gid = NULL) {
  $gid = isset($gid) ? $gid : oa_core_get_space_context();
  return array(
    'og',
    'node_' . $gid,
  );
}