You are here

public function Vars::offsetExists in Variable API 7.2

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

Implements ArrayAccess::offsetExists().

File

./vars.classes.inc, line 259
Classes implemented by the Variable API module.

Class

Vars
@file Classes implemented by the Variable API module.

Code

public function offsetExists($offset) {
  $value = $this
    ->offsetGet($offset);
  return isset($value);
}