public function SearchApiDataSourceControllerInterface::getItemId in Search API 7
Retrieves the unique ID of an item.
Parameters
mixed $item: An item of this controller's type.
Return value
mixed Either the unique ID of the item, or NULL if none is available.
Throws
SearchApiDataSourceException If any error state was encountered.
1 method overrides SearchApiDataSourceControllerInterface::getItemId()
- SearchApiAbstractDataSourceController::getItemId in includes/
datasource.inc - Retrieves the unique ID of an item.
File
- includes/
datasource.inc, line 92 - 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 getItemId($item);