You are here

public function VariableRealmDefaultController::__construct in Variable 7.2

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

Implementation of VariableRealmControllerInterface::__construct().

Overrides VariableRealmControllerInterface::__construct

1 call to VariableRealmDefaultController::__construct()
VariableRealmUnionController::__construct in variable_realm/variable_realm_union.class.inc
Implementation of VariableRealmControllerInterface::__construct().
1 method overrides VariableRealmDefaultController::__construct()
VariableRealmUnionController::__construct in variable_realm/variable_realm_union.class.inc
Implementation of VariableRealmControllerInterface::__construct().

File

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

Class

VariableRealmDefaultController
Base class, keeps static list of variables.

Code

public function __construct($realm_name) {
  $this->realm_name = $realm_name;
  $this->current_weight = $this
    ->getDefaultWeight();
}