Set matches sorting mode
public setSortMode ( integer $mode, string $sortby = '' ) : |
||
$mode | integer | |
$sortby | string | |
return |
/** * @expectedException \InvalidArgumentException */ public function testSetSortModeWithNonRelevanceSortWithoutExpressionShouldThrowException() { $sphinx = new SphinxClient(); $sphinx->setSortMode(SphinxClient::SPH_SORT_EXPR); }
/** * {@inheritdoc} */ public function setSortMode($mode, $sortby = '') { return $this->proxy->setSortMode($mode, $sortby); }