You are here

function variable_status in Variable 6

Get/set variable global status

3 calls to variable_status()
variable_get_default in ./variable.module
Get variable default
variable_get_value in ./variable.module
Get value for simple scalar variable
variable_info in ./variable.module
Get variable information

File

./variable.module, line 311
Variable API module

Code

function variable_status($options = NULL) {
  static $status;
  if (!isset($status)) {
    $status =& variable_static('variable_status', array());
    $status += array(
      'language' => variable_language(),
    );
  }
  if ($options) {
    $status = array_merge($status, $options);
  }
  return $status;
}