Inheritance diagram for ilLikeTestSearch:
Collaboration diagram for ilLikeTestSearch:Public Member Functions | |
| ilTestSearch (&$qp_obj) | |
| Constructor public. | |
| __createWhereCondition ($a_field_str) | |
Definition at line 37 of file class.ilLikeTestSearch.php.
| ilLikeTestSearch::__createWhereCondition | ( | $ | a_field_str | ) |
Definition at line 50 of file class.ilLikeTestSearch.php.
{
$concat = ' CONCAT(';
$concat .= $a_field_str;
$concat .= ') ';
$and = " WHERE ";
$counter = 0;
foreach($this->query_parser->getQuotedWords() as $word)
{
if($counter++)
{
$and .= " OR";
}
$and .= $concat;
$and .= ("LIKE ('%".$word."%')");
}
return $and;
}
| ilLikeTestSearch::ilTestSearch | ( | &$ | qp_obj | ) |
Constructor public.
Reimplemented from ilTestSearch.
Definition at line 44 of file class.ilLikeTestSearch.php.
{
parent::ilTestSearch($qp_obj);
}
1.7.1