Inheritance diagram for ilLikeObjectSearch:
Collaboration diagram for ilLikeObjectSearch:Public Member Functions | |
| ilLikeObjectSearch (&$qp_obj) | |
| Constructor public. | |
| __createWhereCondition () | |
Definition at line 37 of file class.ilLikeObjectSearch.php.
| ilLikeObjectSearch::__createWhereCondition | ( | ) |
Definition at line 50 of file class.ilLikeObjectSearch.php.
{
$concat = " CONCAT(";
$concat .= 'title,description';
$concat .= ") ";
$where = "WHERE (";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$where .= "OR";
}
$where .= $concat;
$where .= ("LIKE ('%".$word."%') ");
}
$where .= ') ';
return $where;
}
| ilLikeObjectSearch::ilLikeObjectSearch | ( | &$ | qp_obj | ) |
Constructor public.
Definition at line 44 of file class.ilLikeObjectSearch.php.
References ilObjectSearch::ilObjectSearch().
{
parent::ilObjectSearch($qp_obj);
}
Here is the call graph for this function:
1.7.1