You are here

public function EntityMetadataArrayObject::offsetExists in Entity API 7

File

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

Class

EntityMetadataArrayObject
An array object implementation keeping the reference on the given array so changes to the object are reflected in the passed array.

Code

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