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