You are here

public function EntityMetadataWrapperIterator::__construct in Entity API 7

File

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

Class

EntityMetadataWrapperIterator
Allows to easily iterate over existing child wrappers.

Code

public function __construct(EntityMetadataWrapper $wrapper, array $keys) {
  $this->wrapper = $wrapper;
  $this->keys = $keys;
}