CyberDuck\Searchly\DataObject\PrimitiveDataObjectFactory
Creates a stdClass representation of a DataObject populated with its fields and its relations.
- Author: Andrew Mc Cormack <andy@cyber-duck.co.uk>
- Copyright: Copyright (c) 2018, Andrew Mc Cormack
- License: https://github.com/cyber-duck/silverstripe-searchly/license
Synopsis
Members
protected
- $index
—
CyberDuck\Searchly\Index\SearchIndex
Index instance. - $records
—
array
Schema objects array.
Methods
public
- __construct() — Sets the search index instance records.
- getJSON() — Returns the search index spec in JSON format.