◆ __createWhereCondition()
ilLikeExerciseSearch::__createWhereCondition |
( |
| ) |
|
Definition at line 40 of file class.ilLikeExerciseSearch.php.
41 {
43
44 $concat =
$ilDB->concat(
45 array(
46 array('title','text'),
47 array('instruction','text')));
48
49 $and = " WHERE ( ";
51 foreach($this->query_parser->getQuotedWords() as $word)
52 {
54 {
55 $and .= " OR ";
56 }
57 $and .=
$ilDB->like($concat,
'clob',
'%'.$word.
'%',
false);
58 }
59 return $and.") ";
60 }
References $counter, and $ilDB.
The documentation for this class was generated from the following file: