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