public function VariableRealmDefaultController::getStore in Variable 7.2
Implementation of VariableRealmControllerInterface::getStore().
Overrides VariableRealmControllerInterface::getStore
1 call to VariableRealmDefaultController::getStore()
- VariableRealmDefaultController::getCurrentStore in variable_realm/
variable_realm.class.inc - Implementation of VariableRealmControllerInterface::getCurrentStore().
File
- variable_realm/
variable_realm.class.inc, line 266 - Variable realm controller
Class
- VariableRealmDefaultController
- Base class, keeps static list of variables.
Code
public function getStore($realm_key) {
if (isset($this->store[$realm_key])) {
return $this->store[$realm_key];
}
else {
return $this
->addStore($realm_key);
}
}