Definition at line 37 of file class.ilLikeForumSearch.php.
◆ __createPostAndCondition()
ilLikeForumSearch::__createPostAndCondition |
( |
| ) |
|
Definition at line 39 of file class.ilLikeForumSearch.php.
47 $concat = $this->db->concat(
49 array(
'pos_subject',
'text'),
50 array(
'pos_message',
'text'))
55 foreach ($this->query_parser->getQuotedWords() as $word) {
60 #$and .= ("LIKE ('%".$word."%')"); 61 $and .= $this->db->like($concat,
'clob',
'%' . $word .
'%');
◆ __createTopicAndCondition()
ilLikeForumSearch::__createTopicAndCondition |
( |
| ) |
|
Definition at line 66 of file class.ilLikeForumSearch.php.
68 $field =
'thr_subject ';
72 foreach ($this->query_parser->getQuotedWords() as $word) {
77 #$and .= ("LIKE ('%".$word."%')"); 78 $and .= $this->db->like($field,
'text',
'%' . $word .
'%');
The documentation for this class was generated from the following file: