ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
e
f
g
h
i
j
l
m
n
p
r
s
t
u
w
+
Functions
_
a
b
c
e
f
g
h
i
m
n
p
r
s
t
u
w
Variables
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
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
j
k
l
m
n
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
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
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
{
16
public
function
performSearch
()
17
{
18
$where = $this->__createWhereCondition();
19
$locate = $this->
__createLocateString
();
20
21
$query
=
"SELECT usr_id "
.
22
$locate .
23
"FROM udf_text "
.
24
$where;
25
$res
= $this->db->query(
$query
);
26
while
(
$row
=
$res
->fetchRow(
ilDBConstants::FETCHMODE_OBJECT
)) {
27
$this->search_result->addEntry(
$row
->usr_id,
'usr'
, $this->__prepareFound(
$row
));
28
}
29
return
$this->search_result
;
30
}
31
}
ilAbstractSearch
Definition:
class.ilAbstractSearch.php:16
ilAbstractSearch\__createLocateString
__createLocateString()
build locate string in case of AND search
Definition:
class.ilAbstractSearch.php:141
$res
foreach($_POST as $key=> $value) $res
Definition:
save_question_post_data.php:15
ilUserDefinedFieldSearch\performSearch
performSearch()
Definition:
class.ilUserDefinedFieldSearch.php:16
ilUserDefinedFieldSearch
Class ilUserSearch.
Definition:
class.ilUserDefinedFieldSearch.php:14
$query
$query
Definition:
proxy_ylocal.php:13
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 Sat Apr 19 2025 19:01:44 for ILIAS by
1.8.13 (using
Doxyfile
)