SilverStripe\FullTextSearch\Search\Indexes\SearchIndex::getDocumentIDForState
Get the "document ID" (a database & variant unique id) given some "Base" class, DataObject ID and state array
Signature
public function getDocumentIDForState(string
$base,
integer
$id,
array
$state )
Parameters
$base
— string- - The base class of the object
$id
— integer- - The ID of the object
$state
— array- - The variant state of the object
Returns
- string
- - The document ID as a string