ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class for search actions in ILIAS survey tool. More...
Public Member Functions | |
__construct ($search_text="", $concatenation=self::CONCAT_AND, $search_field="all", $search_type="all") | |
SurveySearch constructor. More... | |
search () | |
Executes a search. More... | |
Data Fields | |
const | CONCAT_AND = 0 |
const | CONCAT_OR = 1 |
$search_terms | |
$concatenation | |
$search_field | |
$search_type | |
$search_results | |
$ilDB | |
Class for search actions in ILIAS survey tool.
The SurveySearch class defines and encapsulates basic methods and attributes to search the ILIAS survey tool for questions.
Definition at line 34 of file class.SurveySearch.php.
SurveySearch::__construct | ( | $search_text = "" , |
|
$concatenation = self::CONCAT_AND , |
|||
$search_field = "all" , |
|||
$search_type = "all" |
|||
) |
SurveySearch constructor.
The constructor takes possible arguments an creates an instance of the SurveySearch object.
string | $title | A title string to describe the question |
string | $description | A description string to describe the question |
string | $author | A string containing the name of the questions author |
integer | $owner | A numerical ID to identify the owner/creator public |
Definition at line 105 of file class.SurveySearch.php.
References $concatenation, $ilDB, $search_field, $search_type, and array.
SurveySearch::search | ( | ) |
Executes a search.
Executes a search
public
Definition at line 125 of file class.SurveySearch.php.
References $ilDB, $params, $result, $row, and array.
SurveySearch::$concatenation |
Definition at line 55 of file class.SurveySearch.php.
Referenced by __construct().
SurveySearch::$ilDB |
Definition at line 91 of file class.SurveySearch.php.
Referenced by __construct(), and search().
SurveySearch::$search_field |
Definition at line 64 of file class.SurveySearch.php.
Referenced by __construct().
SurveySearch::$search_results |
Definition at line 82 of file class.SurveySearch.php.
SurveySearch::$search_terms |
Definition at line 46 of file class.SurveySearch.php.
SurveySearch::$search_type |
Definition at line 73 of file class.SurveySearch.php.
Referenced by __construct().
const SurveySearch::CONCAT_AND = 0 |
Definition at line 36 of file class.SurveySearch.php.
const SurveySearch::CONCAT_OR = 1 |
Definition at line 37 of file class.SurveySearch.php.