35 include_once
'Services/Search/classes/class.ilUserSearch.php';
46 parent::ilUserSearch($qp_obj);
55 $field = $fields[0].
' ';
60 foreach($this->query_parser->getQuotedWords() as $word)
69 if(strpos($word,
'^') === 0)
71 $and .= $ilDB->like($field,
'text',substr($word,1).
'%');
72 #$and .= ("LIKE ('".substr($word,1)."%')"); 76 $and .= $ilDB->like($field,
'text',
'%'.$word.
'%');
77 #$and .= ("LIKE ('%".$word."%')"); getFields()
Get fields to search.
ilLikeUserSearch(&$qp_obj)
Constructor public.