You are here

public function VariableRealmDefaultController::__construct in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_realm/variable_realm.class.inc \VariableRealmDefaultController::__construct()

Class constructor.

Overrides VariableRealmControllerInterface::__construct

File

variable_realm/variable_realm.class.inc, line 79
Variable realm controller

Class

VariableRealmDefaultController
Base class, keeps static list of variables.

Code

public function __construct($realm, $key, $variables = NULL) {
  $this->realm = $realm;
  $this->key = $key;
  $this->variables = $variables;
}