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