You are here

public function SearchApiDataSourceControllerInterface::loadItems in Search API 7

Loads items of the type of this data source controller.

Parameters

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

Return value

array The loaded items, keyed by ID.

Throws

SearchApiDataSourceException If any error state was encountered.

3 methods override SearchApiDataSourceControllerInterface::loadItems()
SearchApiCombinedEntityDataSourceController::loadItems in includes/datasource_multiple.inc
Loads items of the type of this data source controller.
SearchApiEntityDataSourceController::loadItems in includes/datasource_entity.inc
Loads items of the type of this data source controller.
SearchApiExternalDataSourceController::loadItems in includes/datasource_external.inc
Load items of the type of this data source controller.

File

includes/datasource.inc, line 58
Contains the SearchApiDataSourceControllerInterface as well as a default base class.

Class

SearchApiDataSourceControllerInterface
Interface for all data source controllers for Search API indexes.

Code

public function loadItems(array $ids);