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