EntityStructureWrapper::__isset

7 entity.wrapper.inc public EntityStructureWrapper::__isset($name)

Magic method: Can be used to check if a property is known.

File

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

Code

public function __isset($name) {
  $this->spotInfo();
  return isset($this->propertyInfo['properties'][$name]);
}