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