SilverStripe Search

SearchResultSetTrait

Trait SearchResultSetTrait

Getters for search results to keep the class clean.

Table of Contents

Properties

$facets  : ArrayData
$highlight  : Highlighting
$totalItems  : int

Methods

setHighlight()  : SearchResult
Set the highlighted items
setTotalItems()  : self
Set the total amount of results

Properties

Methods

setTotalItems()

Set the total amount of results

public setTotalItems( $count) : self
Parameters
$count :
Return values
self

        
On this page

Search results