19 declare(strict_types=1);
36 $this->active_check = $a_enabled;
41 $this->inactive_check = $a_enabled;
46 $where = $this->__createWhereCondition();
49 $query =
"SELECT usr_id " .
53 if ($this->active_check) {
54 $query .=
'AND active = 1 ';
55 } elseif ($this->inactive_check) {
56 $query .=
'AND active = 0 ';
60 $res = $this->db->query($query);
62 $this->search_result->addEntry((
int) $row->usr_id,
'usr', $this->__prepareFound($row));
enableInactiveCheck(bool $a_enabled)
enableActiveCheck(bool $a_enabled)
ilSearchResult $search_result
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...