You are here

public function SearchApiExternalDataSourceController::trackItemChange in Search API 7

Set the tracking status of the given items to "changed"/"dirty".

Parameters

$item_ids: Either an array with the IDs of the changed items. Or FALSE to mark all items as changed for the given indexes.

array $indexes: The indexes for which the change should be tracked.

$dequeue: If set to TRUE, also change the status of queued items.

Throws

SearchApiDataSourceException If any of the indexes doesn't use the same item type as this controller.

Overrides SearchApiAbstractDataSourceController::trackItemChange

File

includes/datasource_external.inc, line 184
Contains the SearchApiExternalDataSourceController class.

Class

SearchApiExternalDataSourceController
Base class for data source controllers for external data sources.

Code

public function trackItemChange($item_ids, array $indexes, $dequeue = FALSE) {
  return;
}