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