4 include_once
'./Services/Search/classes/class.ilAbstractSearch.php';
26 parent::__construct($qp_obj);
40 "FROM usr_data_multi ".
48 $this->search_result->addEntry(
$row->usr_id,
'usr',$this->__prepareFound(
$row));
61 foreach($a_fields as $field)
65 parent::setFields($fields ? $fields : array());
76 $and =
" WHERE field_id = ".$ilDB->quote($field,
"text").
" AND ( ";
78 foreach($this->query_parser->getQuotedWords() as $word)
85 if(strpos($word,
'^') === 0)
87 $and .= $ilDB->like(
"value",
"text", substr($word,1).
"%");
91 $and .= $ilDB->like(
"value",
"text",
"%".$word.
"%");
getFields()
Get fields to search.
__createLocateString()
build locate string in case of AND search
const DB_FETCHMODE_OBJECT
performSearch()
Perform search.
__construct($qp_obj)
Constructor public.