You are here

public function MongoDbEntityLoader::__construct in MongoDB 7

MongoDbEntityLoader constructor.

Parameters

string $entityType: The type of entity to load.

array $ids: The IDs of the entities to load.

array $conditions: The conditions under which to load the entities.

File

mongodb_field_storage/mongodb_field_storage.module, line 602
Implementation of the field storage API for MongoDB.

Class

MongoDbEntityLoader

Code

public function __construct($entityType, array $ids, array $conditions) {
  $this->entityType = $entityType;
  $this->ids = $ids;
  $this->conditions = $conditions;
}