public setArrayResult ( boolean $arrayresult ) : |
||
$arrayresult | boolean | whether to return results as array keyed by ID |
Résultat |
public function setArrayResult($arrayresult)
{
$this->arrayresult = (bool) $arrayresult;
return $this;
}
public function testSetArrayResult() { $sphinx = new SphinxClient(); $sphinx->setArrayResult(true); $this->assertTrue($sphinx->arrayresult); }