ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
{
20
function
ilUserDefinedFieldSearch
(&
$query_parser
)
21
{
22
parent::ilAbstractSearch(
$query_parser
);
23
}
24
25
function
&
performSearch
()
26
{
27
$where = $this->__createWhereCondition();
28
$locate = $this->
__createLocateString
();
29
30
$query
=
"SELECT usr_id "
.
31
$locate.
32
"FROM udf_text "
.
33
$where;
34
$res
= $this->db->query(
$query
);
35
while
(
$row
=
$res
->fetchRow(
DB_FETCHMODE_OBJECT
))
36
{
37
$this->search_result->addEntry(
$row
->usr_id,
'usr'
,$this->__prepareFound(
$row
));
38
}
39
return
$this->search_result
;
40
}
41
}
42
?>
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\ilUserDefinedFieldSearch
ilUserDefinedFieldSearch(&$query_parser)
Constructor public.
Definition:
class.ilUserDefinedFieldSearch.php:20
DB_FETCHMODE_OBJECT
const DB_FETCHMODE_OBJECT
Definition:
class.ilDB.php:11
$row
$row
Definition:
examplelayouts.sql.php:26
ilUserDefinedFieldSearch\performSearch
& performSearch()
Definition:
class.ilUserDefinedFieldSearch.php:25
ilUserDefinedFieldSearch
Class ilUserSearch.
Definition:
class.ilUserDefinedFieldSearch.php:14
ilAbstractSearch\$query_parser
$query_parser
Definition:
class.ilAbstractSearch.php:25
ilAbstractSearch\$search_result
$search_result
Definition:
class.ilAbstractSearch.php:30
Services
Search
classes
class.ilUserDefinedFieldSearch.php
Generated on Mon Mar 31 2025 19:00:52 for ILIAS by
1.8.13 (using
Doxyfile
)