ILIAS  Release_5_0_x_branch Revision 61816
 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 
15 {
21  {
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 ?>