SilverStripe\FullTextSearch\Search\Indexes\SearchIndex::getDocumentID
Get the "document ID" (a database & variant unique id) given some "Base" class and DataObject
Signature
public function getDocumentID(DataObject
$object,
string
$base,
boolean
$includesubs )
Parameters
$object
—
object
- - The object
$base
—
string
- - The base class of the object
$includesubs
—
boolean
- - TODO: Probably going away
Returns
- string
- - The document ID as a string