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