ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 | |
Protected Attributes | |
$rbacsystem | |
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 110 of file class.SurveySearch.php.
References $concatenation, $DIC, $ilDB, $search_field, and $search_type.
SurveySearch::search | ( | ) |
Executes a search.
Executes a search
public
Definition at line 133 of file class.SurveySearch.php.
References $ilDB, PHPMailer\PHPMailer\$params, $rbacsystem, $result, and $row.
SurveySearch::$concatenation |
Definition at line 60 of file class.SurveySearch.php.
Referenced by __construct().
SurveySearch::$ilDB |
Definition at line 96 of file class.SurveySearch.php.
Referenced by __construct(), and search().
|
protected |
Definition at line 39 of file class.SurveySearch.php.
Referenced by search().
SurveySearch::$search_field |
Definition at line 69 of file class.SurveySearch.php.
Referenced by __construct().
SurveySearch::$search_results |
Definition at line 87 of file class.SurveySearch.php.
SurveySearch::$search_terms |
Definition at line 51 of file class.SurveySearch.php.
SurveySearch::$search_type |
Definition at line 78 of file class.SurveySearch.php.
Referenced by __construct().
const SurveySearch::CONCAT_AND = 0 |
Definition at line 41 of file class.SurveySearch.php.
const SurveySearch::CONCAT_OR = 1 |
Definition at line 42 of file class.SurveySearch.php.