ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilUserDefinedFieldSearch.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once
'Services/Search/classes/class.ilAbstractSearch.php'
;
5
14
class
ilUserDefinedFieldSearch
extends
ilAbstractSearch
15
{
16
17
function
&
performSearch
()
18
{
19
$where = $this->__createWhereCondition();
20
$locate = $this->
__createLocateString
();
21
22
$query
=
"SELECT usr_id "
.
23
$locate.
24
"FROM udf_text "
.
25
$where;
26
$res
= $this->db->query(
$query
);
27
while
(
$row
=
$res
->fetchRow(
ilDBConstants::FETCHMODE_OBJECT
))
28
{
29
$this->search_result->addEntry(
$row
->usr_id,
'usr'
,$this->__prepareFound(
$row
));
30
}
31
return
$this->search_result
;
32
}
33
}
34
?>
ilAbstractSearch
Definition:
class.ilAbstractSearch.php:16
$res
$res
Definition:
examplelayouts.sql.php:25
ilAbstractSearch\__createLocateString
__createLocateString()
build locate string in case of AND search
Definition:
class.ilAbstractSearch.php:144
$query
$query
Definition:
examplelayouts.sql.php:24
ilUserDefinedFieldSearch\performSearch
& performSearch()
Definition:
class.ilUserDefinedFieldSearch.php:17
ilUserDefinedFieldSearch
Class ilUserSearch.
Definition:
class.ilUserDefinedFieldSearch.php:14
php
ilDBConstants\FETCHMODE_OBJECT
const FETCHMODE_OBJECT
Definition:
class.ilDBConstants.php:13
$row
$row
Definition:
10autofilter-selection-1.php:74
ilAbstractSearch\$search_result
$search_result
Definition:
class.ilAbstractSearch.php:30
Services
Search
classes
class.ilUserDefinedFieldSearch.php
Generated on Fri Jan 17 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)