Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elastica
Result
hasParam
Elastica\Result::hasParam PHP Method
Result Class Documentation
Show file
Open project: ruflin/elastica
hasParam()
public
method
Test if a param from the result hit is set.
public
hasParam
(
string
$name
) :
boolean
$name
string
Param name to test
return
boolean
True if the param is set, false otherwise
public function hasParam($name) { return isset($this->_hit[$name]); }
Result
__construct
__get
__isset
getData
getDocument
getExplanation
getFields
getHighlights
getHit
getId
getIndex
getInnerHits
getParam
getScore
getSource
getType
getVersion
hasFields
hasInnerHits
hasParam
setParam