function SetRankingMode($ranker) { assert($ranker >= 0 && $ranker < SPH_RANK_TOTAL); $this->_ranker = $ranker; }