Public Member Functions

ilLikeLMContentSearch Class Reference

Inheritance diagram for ilLikeLMContentSearch:
Collaboration diagram for ilLikeLMContentSearch:

Public Member Functions

 ilLikeLMContentSearch (&$qp_obj)
 Constructor public.
 __createWhereCondition ()

Detailed Description

Definition at line 37 of file class.ilLikeLMContentSearch.php.


Member Function Documentation

ilLikeLMContentSearch::__createWhereCondition (  ) 

Definition at line 49 of file class.ilLikeLMContentSearch.php.

References $counter.

        {
                $concat  = " content ";

                $and = "  WHERE ( ";
                $counter = 0;
                foreach($this->query_parser->getQuotedWords() as $word)
                {
                        if($counter++)
                        {
                                $and .= " OR";
                        }
                        $and .= $concat;
                        $and .= ("LIKE ('%".$word."%')");
                }
                return $and.") ";
        }

ilLikeLMContentSearch::ilLikeLMContentSearch ( &$  qp_obj  ) 

Constructor public.

Definition at line 44 of file class.ilLikeLMContentSearch.php.

References ilLMContentSearch::ilLMContentSearch().

Here is the call graph for this function:


The documentation for this class was generated from the following file: