setRankingMode() публичный Метод

Set ranking mode
public setRankingMode ( integer $ranker, string $rankexpr = '' ) : SphinxClient
$ranker integer
$rankexpr string
Результат SphinxClient
Пример #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetRankingModeWithExpressionRankerWithoutExpressionShouldThrowException()
 {
     $sphinx = new SphinxClient();
     $sphinx->setRankingMode(SphinxClient::SPH_RANK_EXPR);
 }
 /**
  * {@inheritdoc}
  */
 public function setRankingMode($ranker, $rankexpr = '')
 {
     return $this->proxy->setRankingMode($ranker, $rankexpr);
 }