You are here

public function EntityListWrapper::offsetExists in Entity API 7

1 call to EntityListWrapper::offsetExists()
EntityListWrapper::offsetUnset in includes/entity.wrapper.inc

File

includes/entity.wrapper.inc, line 1137
Provides wrappers allowing easy usage of the entity metadata.

Class

EntityListWrapper
Wraps a list of values.

Code

public function offsetExists($delta) {
  return $this
    ->dataAvailable() && ($data = $this
    ->value()) && array_key_exists($delta, $data);
}