ILIAS
Release_4_4_x_branch Revision 61816
|
Class for search actions in ILIAS survey tool. More...
Public Member Functions | |
SurveySearch ($search_text="", $concatenation=self::CONCAT_AND, $search_field="all", $search_type="all") | |
SurveySearch constructor. | |
search () | |
Executes a search. |
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::search | ( | ) |
Executes a search.
Executes a search
public
Definition at line 130 of file class.SurveySearch.php.
References $ilDB, $result, and $row.
SurveySearch::SurveySearch | ( | $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, and $search_type.
SurveySearch::$concatenation |
Definition at line 55 of file class.SurveySearch.php.
Referenced by SurveySearch().
SurveySearch::$ilDB |
Definition at line 91 of file class.SurveySearch.php.
Referenced by search(), and SurveySearch().
SurveySearch::$search_field |
Definition at line 64 of file class.SurveySearch.php.
Referenced by SurveySearch().
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 SurveySearch().
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.