public function VariableStoreRealmController::variable_set in Variable 7
Set single variable.
Parameters
$name: Variable name
$value: Variable value
Overrides VariableRealmDefaultController::variable_set
File
- variable_store/
variable_store.class.inc, line 24 - Variable realm controller
Class
- VariableStoreRealmController
- @file Variable realm controller
Code
public function variable_set($name, $value) {
// Since $variables is a reference we just need to set the store value.
variable_store_set($this->realm, $this->key, $name, $value);
}