You are here

protected function SearchApiAbstractDataSourceController::getAllItemIds in Search API 7

Returns the IDs of all items that are known for this controller's type.

Helper method that can be used by subclasses instead of implementing startTracking().

Return value

array An array containing all item IDs for this type.

Throws

SearchApiDataSourceException If any error state was encountered.

1 call to SearchApiAbstractDataSourceController::getAllItemIds()
SearchApiAbstractDataSourceController::startTracking in includes/datasource.inc
Initializes tracking of the index status of items for the given indexes.

File

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

Class

SearchApiAbstractDataSourceController
Provides a default base class for datasource controllers.

Code

protected function getAllItemIds() {
  throw new SearchApiDataSourceException(t('Items not known for type @type.', array(
    '@type' => $this->type,
  )));
}