Inheritance diagram for ilFulltextObjectSearch:
Collaboration diagram for ilFulltextObjectSearch:Public Member Functions | |
| ilFulltextObjectSearch (&$qp_obj) | |
| Constructor public. | |
| __createWhereCondition () | |
Definition at line 37 of file class.ilFulltextObjectSearch.php.
| ilFulltextObjectSearch::__createWhereCondition | ( | ) |
Definition at line 48 of file class.ilFulltextObjectSearch.php.
{
if($this->db->isMysql4_0OrHigher())
{
$where = " WHERE MATCH (title,description) AGAINST(' ";
#$prefix = $this->query_parser->getCombination() == 'and' ? '+' : '';
foreach($this->query_parser->getQuotedWords(true) as $word)
{
#$where .= $prefix;
$where .= $word;
$where .= '* ';
}
$where .= "' IN BOOLEAN MODE) ";
return $where;
}
else
{
$where = " WHERE MATCH (title,description) AGAINST(' ";
foreach($this->query_parser->getQuotedWords(true) as $word)
{
$where .= ($word.' ');
}
$where .= "')";
return $where;
}
}
| ilFulltextObjectSearch::ilFulltextObjectSearch | ( | &$ | qp_obj | ) |
Constructor public.
Definition at line 43 of file class.ilFulltextObjectSearch.php.
References ilObjectSearch::ilObjectSearch().
{
parent::ilObjectSearch($qp_obj);
}
Here is the call graph for this function:
1.7.1