ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $search_text="", int $concatenation=self::CONCAT_AND, string $search_field="all", string $search_type="all") | |
search () | |
Data Fields | |
const | CONCAT_AND = 0 |
const | CONCAT_OR = 1 |
array | $search_terms |
int | $concatenation |
string | $search_field |
string | $search_type |
array | $search_results |
ilDBInterface | $ilDB |
Protected Attributes | |
ilRbacSystem | $rbacsystem |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 25 of file class.SurveySearch.php.
SurveySearch::__construct | ( | string | $search_text = "" , |
int | $concatenation = self::CONCAT_AND , |
||
string | $search_field = "all" , |
||
string | $search_type = "all" |
||
) |
Definition at line 50 of file class.SurveySearch.php.
References $concatenation, $DIC, $ilDB, $search_field, and $search_type.
SurveySearch::search | ( | ) |
Definition at line 71 of file class.SurveySearch.php.
References $ilDB, $params, $rbacsystem, ilRbacSystem\checkAccess(), ilDBInterface\fetchAssoc(), ilDBInterface\like(), ilDBInterface\query(), and ilDBInterface\quote().
int SurveySearch::$concatenation |
Definition at line 36 of file class.SurveySearch.php.
Referenced by __construct().
ilDBInterface SurveySearch::$ilDB |
Definition at line 47 of file class.SurveySearch.php.
Referenced by __construct(), and search().
|
protected |
Definition at line 30 of file class.SurveySearch.php.
Referenced by search().
string SurveySearch::$search_field |
Definition at line 39 of file class.SurveySearch.php.
Referenced by __construct().
array SurveySearch::$search_results |
Definition at line 45 of file class.SurveySearch.php.
array SurveySearch::$search_terms |
Definition at line 33 of file class.SurveySearch.php.
string SurveySearch::$search_type |
Definition at line 42 of file class.SurveySearch.php.
Referenced by __construct().
const SurveySearch::CONCAT_AND = 0 |
Definition at line 27 of file class.SurveySearch.php.
const SurveySearch::CONCAT_OR = 1 |
Definition at line 28 of file class.SurveySearch.php.