63 $this->listener = $a_callback;
84 $ilLog->write(__METHOD__.
': Iterator valid called '. count($this->objects).
' '. $this->position);
85 if($this->position < count($this->objects))
93 $ilLog->write(
"Trying to get next result page...");
94 @call_user_func($this->listener);
97 if($this->position < count($this->objects))
140 return $this->objects ? $this->objects : array();
152 $this->objects[] = $a_value;
153 $this->relevance[$a_value] = $a_relevance;
167 return isset($this->relevance[$a_obj_id]) ? $this->relevance[$a_obj_id] / $this->
getMaxScore() * 100 : 0;
178 $this->limit = $a_limit;
199 $this->max_score = $a_score;
218 $this->total_hits = $a_hits;