You are here

public function Vars::offsetExists in Variable API 6.2

Same name and namespace in other branches
  1. 6 vars.module \Vars::offsetExists()
  2. 7.2 vars.classes.inc \Vars::offsetExists()
  3. 7 vars.module \Vars::offsetExists()

Implements ArrayAccess::offsetExists().

File

./vars.module, line 256
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);
}