ILIAS  release_8 Revision v8.24
class.ilUserDefinedFieldSearch.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
30{
31 public function performSearch(): ilSearchResult
32 {
33 $where = $this->__createWhereCondition();
34 $locate = $this->__createLocateString();
35
36 $query = "SELECT usr_id " .
37 $locate .
38 "FROM udf_text " .
39 $where;
40 $res = $this->db->query($query);
41 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
42 $this->search_result->addEntry((int) $row->usr_id, 'usr', $this->__prepareFound($row));
43 }
45 }
46}
ilSearchResult $search_result
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$res
Definition: ltiservices.php:69
$query