SilverStripe solr Search

DocumentFactoryTrait

Trait DocumentFactoryTrait is a basic getter setter for the DocumentFactory.

Getter and setter helpers

Table of Contents

Properties

$class  : string
$fieldResolver  : FieldResolver
$items  : null|ArrayList|DataList

Methods

getClass()  : string
Current class being indexed
getFieldResolver()  : FieldResolver
Get the FieldResolver class
getItems()  : ArrayList|DataList|null
Get the items being indexed
setClass()  : DocumentFactory
Set the current class to be indexed
setItems()  : DocumentFactory
Set the items to index

Properties

Methods

getItems()

Get the items being indexed

public getItems() : ArrayList|DataList|null
Return values
ArrayList|DataList|null

        
On this page

Search results