Public Member Functions

ilGlossaryDefinitionSearch Class Reference

Inheritance diagram for ilGlossaryDefinitionSearch:
Collaboration diagram for ilGlossaryDefinitionSearch:

Public Member Functions

 ilGlossaryDefinitionSearch (&$query_parser)
 Constructor public.
performSearch ()
 __createAndCondition ()

Detailed Description

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


Member Function Documentation

ilGlossaryDefinitionSearch::__createAndCondition (  ) 

Definition at line 70 of file class.ilGlossaryDefinitionSearch.php.

        {
                echo "Overwrite me!";
        }

ilGlossaryDefinitionSearch::ilGlossaryDefinitionSearch ( &$  query_parser  ) 

Constructor public.

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

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

Referenced by ilFulltextGlossaryDefinitionSearch::ilFulltextGlossaryDefinitionSearch(), and ilLikeGlossaryDefinitionSearch::ilLikeGlossaryDefinitionSearch().

Here is the call graph for this function:

Here is the caller graph for this function:

& ilGlossaryDefinitionSearch::performSearch (  ) 

Reimplemented from ilAbstractSearch.

Definition at line 48 of file class.ilGlossaryDefinitionSearch.php.

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

        {
                // Search in glossary term
                
                $this->setFields(array('term'));

                $where = $this->__createWhereCondition();
                $locate = $this->__createLocateString();

                $query = "SELECT glo_id  ".
                        $locate.
                        "FROM glossary_term ".
                        $where;

                $res = $this->db->query($query);
                while($row = $res->fetchRow(DB_FETCHMODE_OBJECT))
                {
                        $this->search_result->addEntry($row->glo_id,'glo',$this->__prepareFound($row));
                }
                return $this->search_result;
        }

Here is the call graph for this function:


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