Public Member Functions

ilMediaPoolSearch Class Reference

Inheritance diagram for ilMediaPoolSearch:
Collaboration diagram for ilMediaPoolSearch:

Public Member Functions

 ilMediaPoolSearch (&$query_parser)
 Constructor public.
performSearch ()

Detailed Description

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

Member Function Documentation

ilMediaPoolSearch::ilMediaPoolSearch ( &$  query_parser  ) 

Constructor public.

Definition at line 43 of file class.ilMediaPoolSearch.php.

References ilAbstractSearch::$query_parser, and ilAbstractSearch::ilAbstractSearch().

Referenced by ilFulltextMediaPoolSearch::ilFulltextMediaPoolSearch(), and ilLikeMediaPoolSearch::ilLikeMediaPoolSearch().

Here is the call graph for this function:

Here is the caller graph for this function:

& ilMediaPoolSearch::performSearch (  ) 

Reimplemented from ilAbstractSearch.

Definition at line 50 of file class.ilMediaPoolSearch.php.

References $query, $res, $row, ilAbstractSearch::__createLocateString(), and ilAbstractSearch::setFields().


                $and = $this->__createAndCondition();
                $locate = $this->__createLocateString();

                $query = "SELECT DISTINCT(mep_id) as mediapool_id ".
                        "FROM object_data,mep_tree ".
                        "WHERE obj_id = child ".

                $res = $this->db->query($query);
                while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
                return $this->search_result;

Here is the call graph for this function:

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