setArrayResult() public method

PHP specific; needed for group-by-MVA result sets that may contain duplicate IDs
public setArrayResult ( boolean $arrayresult ) : SphinxClient
$arrayresult boolean whether to return results as array keyed by ID
return SphinxClient
Exemplo n.º 1
0
 public function testSetArrayResult()
 {
     $sphinx = new SphinxClient();
     $sphinx->setArrayResult(true);
     $this->assertTrue($sphinx->arrayresult);
 }
 /**
  * {@inheritdoc}
  */
 public function setArrayResult($arrayresult)
 {
     return $this->proxy->setArrayResult($arrayresult);
 }