ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilUserDefinedFieldSearch.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
29{
30 public function performSearch(): ilSearchResult
31 {
32 $where = $this->__createWhereCondition();
33 $locate = $this->__createLocateString();
34
35 $query = "SELECT usr_id " .
36 $locate .
37 "FROM udf_text " .
38 $where;
39 $res = $this->db->query($query);
40 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
41 $this->search_result->addEntry((int) $row->usr_id, 'usr', $this->__prepareFound($row));
42 }
44 }
45}
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