Definition at line 30 of file class.ilLikeForumSearch.php.
◆ __createPostAndCondition()
ilLikeForumSearch::__createPostAndCondition |
( |
| ) |
|
Definition at line 32 of file class.ilLikeForumSearch.php.
39 $concat = $this->db->concat(
41 array(
'pos_subject',
'text'),
42 array(
'pos_message',
'text'))
47 foreach ($this->query_parser->getQuotedWords() as $word) {
52 #$and .= ("LIKE ('%".$word."%')"); 53 $and .= $this->db->like($concat,
'clob',
'%' . $word .
'%');
◆ __createTopicAndCondition()
ilLikeForumSearch::__createTopicAndCondition |
( |
| ) |
|
Definition at line 58 of file class.ilLikeForumSearch.php.
60 $field =
'thr_subject ';
64 foreach ($this->query_parser->getQuotedWords() as $word) {
69 #$and .= ("LIKE ('%".$word."%')"); 70 $and .= $this->db->like($field,
'text',
'%' . $word .
'%');
The documentation for this class was generated from the following file: