public function results() { $results = dmQuery($this->search_alias, $this->search_string, $this->field, $this->sortby, $this->maxrecs, $this->start, $this->total, 1); $list = array(); foreach ($results as $result) { $list[] = Item::from_search($result); } return $list; }
public function results() { $results = dmQuery($this->search_alias, $this->searchstring, $this->field, $this->sortby, $this->maxrecs, $this->start[1], $this->total); return $results; }