Public Member Functions | Data Fields

ilUserSearch Class Reference

Inheritance diagram for ilUserSearch:
Collaboration diagram for ilUserSearch:

Public Member Functions

 ilUserSearch (&$query_parser)
 Constructor public.
 enableActiveCheck ($a_enabled)
 search only active accounts
performSearch ()

Data Fields

 $active_check = false

Detailed Description

Definition at line 35 of file class.ilUserSearch.php.

Member Function Documentation

ilUserSearch::enableActiveCheck ( a_enabled  ) 

search only active accounts



Definition at line 54 of file class.ilUserSearch.php.

                $this->active_check = $a_enabled;

ilUserSearch::ilUserSearch ( &$  query_parser  ) 

Constructor public.

Definition at line 42 of file class.ilUserSearch.php.

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

Referenced by ilLikeUserSearch::ilLikeUserSearch().

Here is the call graph for this function:

Here is the caller graph for this function:

& ilUserSearch::performSearch (  ) 

Reimplemented from ilAbstractSearch.

Definition at line 59 of file class.ilUserSearch.php.

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

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

                $query = "SELECT usr_id  ".
                        "FROM usr_data ".
                        $query .= 'AND active = 1 ';

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

Here is the call graph for this function:

Field Documentation

ilUserSearch::$active_check = false

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

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