ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilFulltextTestSearch Class Reference
+ Inheritance diagram for ilFulltextTestSearch:
+ Collaboration diagram for ilFulltextTestSearch:

Public Member Functions

 __createWhereCondition ($a_field_str)
 
- Public Member Functions inherited from ilTestSearch
__searchTestIntroduction ()
 
__searchTestTitle ()
 
__searchSurveyIntroduction ()
 
__searchSurveyTitle ()
 
performSearch ()
 
- Public Member Functions inherited from ilAbstractSearch
 __construct ($qp_obj)
 Constructor public. More...
 
 setFields ($a_fields)
 Set fields to search. More...
 
 getFields ()
 Get fields to search. More...
 
 setFilter ($a_filter)
 set object type to search in More...
 
 setIdFilter ($a_id_filter)
 Set id filter Filters search by given object id. More...
 
 getIdFilter ()
 Get Id filter. More...
 
 appendToFilter ($a_type)
 Append object type to filter. More...
 
 getFilter ()
 get object type to search in More...
 
 __createLocateString ()
 build locate string in case of AND search More...
 
 __prepareFound (&$row)
 
performSearch ()
 

Additional Inherited Members

- Data Fields inherited from ilAbstractSearch
 $db = null
 
 $query_parser = null
 
 $search_result = null
 
 $object_types
 

Detailed Description

Definition at line 37 of file class.ilFulltextTestSearch.php.

Member Function Documentation

◆ __createWhereCondition()

ilFulltextTestSearch::__createWhereCondition (   $a_field_str)

Definition at line 40 of file class.ilFulltextTestSearch.php.

References $query.

41  {
42  // IN BOOLEAN MODE
43  $query .= " WHERE MATCH(".$a_field_str.") AGAINST('";
44  foreach($this->query_parser->getQuotedWords(true) as $word)
45  {
46  $query .= $word;
47  $query .= '* ';
48  }
49  $query .= "' IN BOOLEAN MODE) ";
50  return $query;
51  }

The documentation for this class was generated from the following file: