ILIAS
Release_4_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
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
?>
Services
Search
classes
class.ilUserDefinedFieldSearch.php
Generated on Wed Apr 27 2016 19:01:50 for ILIAS by
1.8.1.2 (using
Doxyfile
)