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