public function DrupalEntityControllerInterface::load

Loads one or more entities.

Parameters

$ids: An array of entity IDs, or FALSE to load all entities.

$conditions: An array of conditions in the form 'field' => $value.

Return value

An array of entity objects indexed by their ids. When no results are found, an empty array is returned.

1 method overrides DrupalEntityControllerInterface::load()
DrupalDefaultEntityController::load in drupal-7.x/includes/entity.inc
Implements DrupalEntityControllerInterface::load().

Archivo

drupal-7.x/includes/entity.inc, line 37

Class

DrupalEntityControllerInterface
Interface for entity controller classes.

Código

public function load($ids = array(), $conditions = array());