Definition at line 29 of file class.ilUserSearch.php.
◆ enableActiveCheck()
ilUserSearch::enableActiveCheck |
( |
bool |
$a_enabled | ) |
|
◆ enableInactiveCheck()
ilUserSearch::enableInactiveCheck |
( |
bool |
$a_enabled | ) |
|
◆ performSearch()
ilUserSearch::performSearch |
( |
| ) |
|
Reimplemented from ilAbstractSearch.
Definition at line 44 of file class.ilUserSearch.php.
45 {
46 $where = $this->__createWhereCondition();
48
49 $query = "SELECT usr_id " .
50 $locate .
51 "FROM usr_data " .
52 $where;
53 if ($this->active_check) {
54 $query .= 'AND active = 1 ';
55 } elseif ($this->inactive_check) {
56 $query .= 'AND active = 0 ';
57 }
58
59
60 $res = $this->db->query($query);
62 $this->search_result->addEntry((int) $row->usr_id, 'usr', $this->__prepareFound($row));
63 }
65 }
ilSearchResult $search_result
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
References $res, ilAbstractSearch\$search_result, ilAbstractSearch\__createLocateString(), and ilDBConstants\FETCHMODE_OBJECT.
◆ $active_check
bool ilUserSearch::$active_check = false |
|
private |
◆ $inactive_check
bool ilUserSearch::$inactive_check = false |
|
private |
The documentation for this class was generated from the following file: