Definition at line 37 of file class.ilLikeForumSearch.php.
 
◆ __createPostAndCondition()
      
        
          | ilLikeForumSearch::__createPostAndCondition  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 39 of file class.ilLikeForumSearch.php.
   46         $concat = $this->db->concat(
    48                 array(
'pos_subject',
'text'),
    49                 array(
'pos_message',
'text'))
    54         foreach ($this->query_parser->getQuotedWords() as $word) {
    59             #$and .= ("LIKE ('%".$word."%')");    60             $and .= $this->db->like($concat, 
'clob', 
'%' . $word . 
'%');
  
 
 
◆ __createTopicAndCondition()
      
        
          | ilLikeForumSearch::__createTopicAndCondition  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 65 of file class.ilLikeForumSearch.php.
   67         $field = 
'thr_subject ';
    71         foreach ($this->query_parser->getQuotedWords() as $word) {
    76             #$and .= ("LIKE ('%".$word."%')");    77             $and .= $this->db->like($field, 
'text', 
'%' . $word . 
'%');
  
 
 
The documentation for this class was generated from the following file: