Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Bolt
Storage
Query
SearchQueryResultset
PHP Class Bolt\Storage\Query\SearchQueryResultset
Inheritance:
extends
QueryResultset
Mostrar archivo
Open project: bolt/bolt
Class Usage Examples
Protected Properties
Property
Type
Description
$results
array
$scores
array
Public Methods
Method
Description
add
(
array
$results
,
string
$type
= null,
array
$scores
= [] )
sortSingle
(
string
$label
)
Method Details
add()
public
method
public
add
(
array
$results
,
string
$type
= null,
array
$scores
= [] )
$results
array
A set of results
$type
string
An optional label to partition results
$scores
array
An array of scores for the corresponding results
sortSingle()
public
method
public
sortSingle
(
string
$label
)
$label
string
Property Details
$results
protected_oe property
protected
array
$results
return
array
$scores
protected_oe property
protected
array
$scores
return
array