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