SilverStripe\FullTextSearch\Search\Indexes\SearchIndex::_getFieldValue
Given an object and a field definition (as returned by fieldData) get the current value of that field on that object
Signature
protected function _getFieldValue(DataObject
$object,
array
$field )
Parameters
$object
—
object
- - The object to get the value from
$field
—
array
- - The field definition to use
Returns
- mixed
- - The value of the field, or null if we couldn't look it up for some reason