public function Vars::offsetUnset in Variable API 6.2
Same name and namespace in other branches
- 6 vars.module \Vars::offsetUnset()
- 7.2 vars.classes.inc \Vars::offsetUnset()
- 7 vars.module \Vars::offsetUnset()
Implements ArrayAccess::offsetUnset().
File
- ./
vars.module, line 335 - Implement an API to handle persistent variables.
Class
- Vars
- @file Implement an API to handle persistent variables.
Code
public function offsetUnset($offset) {
$this
->deleteVariables(array(
$offset,
));
}