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