Phraseanet PHP SDK API
Class

PhraseanetSDK\Entity\QuerySuggestion

class QuerySuggestion extends AbstractEntity

Methods

__construct(EntityManager $em)

from AbstractEntity
string getValue()

Get the suggestion value

setValue($value)

Boolean isCurrent()

Tell whether the suggestion is current

setCurrent($current)

integer getHits()

Get the suggestion hit

setHits($hits)

Details

in AbstractEntity at line 21
final public __construct(EntityManager $em)

Parameters

EntityManager $em

at line 25
public string getValue()

Get the suggestion value

Return Value

string

at line 30
public setValue($value)

Parameters

$value

at line 40
public Boolean isCurrent()

Tell whether the suggestion is current

Return Value

Boolean

at line 45
public setCurrent($current)

Parameters

$current

at line 55
public integer getHits()

Get the suggestion hit

Return Value

integer

at line 60
public setHits($hits)

Parameters

$hits