Definition at line 37 of file class.ilLikeForumSearch.php.
◆ __createPostAndCondition()
ilLikeForumSearch::__createPostAndCondition |
( |
| ) |
|
Definition at line 39 of file class.ilLikeForumSearch.php.
References $DIC, and $ilDB.
50 $concat =
$ilDB->concat(
52 array(
'pos_subject',
'text'),
53 array(
'pos_message',
'text'))
58 foreach ($this->query_parser->getQuotedWords() as $word) {
63 #$and .= ("LIKE ('%".$word."%')"); 64 $and .=
$ilDB->like($concat,
'clob',
'%' . $word .
'%');
◆ __createTopicAndCondition()
ilLikeForumSearch::__createTopicAndCondition |
( |
| ) |
|
Definition at line 69 of file class.ilLikeForumSearch.php.
References $DIC, and $ilDB.
75 $field =
'thr_subject ';
79 foreach ($this->query_parser->getQuotedWords() as $word) {
84 #$and .= ("LIKE ('%".$word."%')"); 85 $and .=
$ilDB->like($field,
'text',
'%' . $word .
'%');
The documentation for this class was generated from the following file: