|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for SurveyImportParser:
Collaboration diagram for SurveyImportParser:Public Member Functions | |
| __construct (int $a_spl_id, ?string $a_xml_file='', bool $spl_exists=false, ?ilImportMapping $a_mapping=null) | |
| setSurveyObject (ilObjSurvey $a_svy) | |
| setHandlers ($a_xml_parser) | |
| parse ($a_xml_parser, $a_fp=null) | |
| getParent () | |
| handlerBeginTag ($a_xml_parser, string $a_name, array $a_attribs) | |
| handlerCharacterData ($a_xml_parser, string $a_data) | |
| handlerEndTag ($a_xml_parser, string $a_name) | |
| getErrorCode () | |
| getErrorLine () | |
| getErrorColumn () | |
| getErrorMessage () | |
| getFullError () | |
| getXMLElements () | |
| getXMLAttributes () | |
| getXMLTextSections () | |
| getXMLTextSize () | |
| hasError () | |
Public Member Functions inherited from ilSaxParser | |
| __construct (?string $path_to_file='', ?bool $throw_exception=false) | |
| setXMLContent (string $a_xml_content) | |
| getXMLContent () | |
| getInputType () | |
| startParsing () | |
| stores xml data in array More... | |
| createParser () | |
| setHandlers ($a_xml_parser) | |
| parse ($a_xml_parser, $a_fp=null) | |
Data Fields | |
| array | $path = [] |
| int | $depth = 0 |
| SurveyQuestion | $activequestion |
| $error_code | |
| $error_line | |
| $error_col | |
| string | $error_msg |
| bool | $has_error = false |
| int | $elements = 0 |
| int | $attributes = 0 |
| int | $texts = 0 |
| int | $text_size = 0 |
| string | $characterbuffer = "" |
| string | $activetag = "" |
| array | $material = [] |
| array | $metadata = [] |
| array | $responses = [] |
| array | $variables = [] |
| string | $response_id = "" |
| array | $matrix = [] |
| array | $matrixrowattribs = [] |
| bool | $is_matrix = false |
| array | $adjectives = [] |
| bool | $spl_exists = false |
| bool | $in_survey = false |
| ilObjSurvey | $survey = null |
| int | $anonymisation = 0 |
| string | $surveyaccess = "" |
| array | $questions = [] |
| string | $original_question_id = "" |
| array | $constraints = [] |
| string | $textblock = "" |
| array | $textblocks = [] |
| bool | $survey_status = false |
| bool | $in_questionblock = false |
| array | $questionblock = [] |
| array | $questionblocks = [] |
| string | $questionblocktitle = "" |
Data Fields inherited from ilSaxParser | |
| string | $xml_file |
| bool | $throw_exception = false |
Protected Member Functions | |
| getCharacterBuffer ($use_purifier=false) | |
| trimAndStripAttribs (array $attribs) | |
| trimAndStrip (string $input) | |
Protected Member Functions inherited from ilSaxParser | |
| openXMLFile () | |
| handleError (string $message) | |
| setThrowException (bool $throw_exception) | |
Protected Attributes | |
| ILIAS SurveyQuestionPool Export ImportSessionRepository | $session_repo |
| ilImportMapping | $mapping = null |
| int | $spl_id = 0 |
| int | $showQuestiontext |
| int | $showBlocktitle |
| int | $compressView |
Protected Attributes inherited from ilSaxParser | |
| ilLanguage | $lng = null |
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 Survey Question Import Parser
Definition at line 24 of file class.SurveyImportParser.php.
| SurveyImportParser::__construct | ( | int | $a_spl_id, |
| ?string | $a_xml_file = '', |
||
| bool | $spl_exists = false, |
||
| ?ilImportMapping | $a_mapping = null |
||
| ) |
Definition at line 80 of file class.SurveyImportParser.php.
References $DIC, $spl_exists, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Definition at line 417 of file class.SurveyImportParser.php.
References trimAndStrip().
Referenced by handlerEndTag().
Here is the call graph for this function:
Here is the caller graph for this function:| SurveyImportParser::getErrorCode | ( | ) |
Definition at line 741 of file class.SurveyImportParser.php.
References $error_code.
| SurveyImportParser::getErrorColumn | ( | ) |
Definition at line 751 of file class.SurveyImportParser.php.
References $error_col.
| SurveyImportParser::getErrorLine | ( | ) |
Definition at line 746 of file class.SurveyImportParser.php.
References $error_line.
| SurveyImportParser::getErrorMessage | ( | ) |
Definition at line 756 of file class.SurveyImportParser.php.
References $error_msg.
| SurveyImportParser::getFullError | ( | ) |
Definition at line 761 of file class.SurveyImportParser.php.
References $error_col.
| SurveyImportParser::getParent | ( | ) |
Definition at line 166 of file class.SurveyImportParser.php.
Referenced by handlerBeginTag(), and handlerEndTag().
Here is the caller graph for this function:| SurveyImportParser::getXMLAttributes | ( | ) |
Definition at line 771 of file class.SurveyImportParser.php.
References $attributes.
| SurveyImportParser::getXMLElements | ( | ) |
Definition at line 766 of file class.SurveyImportParser.php.
References $elements.
| SurveyImportParser::getXMLTextSections | ( | ) |
Definition at line 776 of file class.SurveyImportParser.php.
References $texts.
| SurveyImportParser::getXMLTextSize | ( | ) |
Definition at line 781 of file class.SurveyImportParser.php.
References $text_size.
| SurveyImportParser::handlerBeginTag | ( | $a_xml_parser, | |
| string | $a_name, | ||
| array | $a_attribs | ||
| ) |
| resource | $a_xml_parser |
Definition at line 178 of file class.SurveyImportParser.php.
References $attrib, $depth, ILIAS\LTI\ToolProvider\$key, $original_question_id, $spl_id, $type, SurveyQuestion\_includeClass(), getParent(), ILIAS\Repository\int(), and trimAndStripAttribs().
Here is the call graph for this function:| SurveyImportParser::handlerCharacterData | ( | $a_xml_parser, | |
| string | $a_data | ||
| ) |
| resource | $a_xml_parser |
Definition at line 409 of file class.SurveyImportParser.php.
References $characterbuffer.
| SurveyImportParser::handlerEndTag | ( | $a_xml_parser, | |
| string | $a_name | ||
| ) |
| resource | $a_xml_parser |
Definition at line 429 of file class.SurveyImportParser.php.
References $characterbuffer, $data, ILIAS\LTI\ToolProvider\$key, $material, $original_question_id, $questionblock, $response_id, $textblock, getCharacterBuffer(), and getParent().
Here is the call graph for this function:| SurveyImportParser::hasError | ( | ) |
Definition at line 786 of file class.SurveyImportParser.php.
References $has_error.
| SurveyImportParser::parse | ( | $a_xml_parser, | |
$a_fp = null |
|||
| ) |
| resource | $a_xml_parser | |
| resource | null | $a_fp |
Reimplemented from ilSaxParser.
Definition at line 142 of file class.SurveyImportParser.php.
References $data, ilSaxParser\getInputType(), and ilSaxParser\getXMLContent().
Here is the call graph for this function:| SurveyImportParser::setHandlers | ( | $a_xml_parser | ) |
| XMLParser | resource | $a_xml_parser |
Reimplemented from ilSaxParser.
Definition at line 131 of file class.SurveyImportParser.php.
| SurveyImportParser::setSurveyObject | ( | ilObjSurvey | $a_svy | ) |
Definition at line 126 of file class.SurveyImportParser.php.
|
protected |
Definition at line 802 of file class.SurveyImportParser.php.
References ilUtil\stripSlashes().
Referenced by getCharacterBuffer(), and trimAndStripAttribs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 791 of file class.SurveyImportParser.php.
References trimAndStrip().
Referenced by handlerBeginTag().
Here is the call graph for this function:
Here is the caller graph for this function:| SurveyQuestion SurveyImportParser::$activequestion |
Definition at line 34 of file class.SurveyImportParser.php.
| string SurveyImportParser::$activetag = "" |
Definition at line 54 of file class.SurveyImportParser.php.
| array SurveyImportParser::$adjectives = [] |
Definition at line 63 of file class.SurveyImportParser.php.
| int SurveyImportParser::$anonymisation = 0 |
Definition at line 67 of file class.SurveyImportParser.php.
| int SurveyImportParser::$attributes = 0 |
Definition at line 50 of file class.SurveyImportParser.php.
Referenced by getXMLAttributes().
| string SurveyImportParser::$characterbuffer = "" |
Definition at line 53 of file class.SurveyImportParser.php.
Referenced by handlerCharacterData(), and handlerEndTag().
|
protected |
Definition at line 31 of file class.SurveyImportParser.php.
| array SurveyImportParser::$constraints = [] |
Definition at line 71 of file class.SurveyImportParser.php.
| int SurveyImportParser::$depth = 0 |
Definition at line 33 of file class.SurveyImportParser.php.
Referenced by handlerBeginTag().
| int SurveyImportParser::$elements = 0 |
Definition at line 49 of file class.SurveyImportParser.php.
Referenced by getXMLElements().
| SurveyImportParser::$error_code |
Definition at line 38 of file class.SurveyImportParser.php.
Referenced by getErrorCode().
| SurveyImportParser::$error_col |
Definition at line 46 of file class.SurveyImportParser.php.
Referenced by getErrorColumn(), and getFullError().
| SurveyImportParser::$error_line |
Definition at line 42 of file class.SurveyImportParser.php.
Referenced by getErrorLine().
| string SurveyImportParser::$error_msg |
Definition at line 47 of file class.SurveyImportParser.php.
Referenced by getErrorMessage().
| bool SurveyImportParser::$has_error = false |
Definition at line 48 of file class.SurveyImportParser.php.
Referenced by hasError().
| bool SurveyImportParser::$in_questionblock = false |
Definition at line 75 of file class.SurveyImportParser.php.
| bool SurveyImportParser::$in_survey = false |
Definition at line 65 of file class.SurveyImportParser.php.
| bool SurveyImportParser::$is_matrix = false |
Definition at line 62 of file class.SurveyImportParser.php.
|
protected |
Definition at line 27 of file class.SurveyImportParser.php.
| array SurveyImportParser::$material = [] |
Definition at line 55 of file class.SurveyImportParser.php.
Referenced by handlerEndTag().
| array SurveyImportParser::$matrix = [] |
Definition at line 60 of file class.SurveyImportParser.php.
| array SurveyImportParser::$matrixrowattribs = [] |
Definition at line 61 of file class.SurveyImportParser.php.
| array SurveyImportParser::$metadata = [] |
Definition at line 56 of file class.SurveyImportParser.php.
| string SurveyImportParser::$original_question_id = "" |
Definition at line 70 of file class.SurveyImportParser.php.
Referenced by handlerBeginTag(), and handlerEndTag().
| array SurveyImportParser::$path = [] |
Definition at line 32 of file class.SurveyImportParser.php.
| array SurveyImportParser::$questionblock = [] |
Definition at line 76 of file class.SurveyImportParser.php.
Referenced by handlerEndTag().
| array SurveyImportParser::$questionblocks = [] |
Definition at line 77 of file class.SurveyImportParser.php.
| string SurveyImportParser::$questionblocktitle = "" |
Definition at line 78 of file class.SurveyImportParser.php.
| array SurveyImportParser::$questions = [] |
Definition at line 69 of file class.SurveyImportParser.php.
| string SurveyImportParser::$response_id = "" |
Definition at line 59 of file class.SurveyImportParser.php.
Referenced by handlerEndTag().
| array SurveyImportParser::$responses = [] |
Definition at line 57 of file class.SurveyImportParser.php.
|
protected |
Definition at line 26 of file class.SurveyImportParser.php.
|
protected |
Definition at line 30 of file class.SurveyImportParser.php.
|
protected |
Definition at line 29 of file class.SurveyImportParser.php.
| bool SurveyImportParser::$spl_exists = false |
Definition at line 64 of file class.SurveyImportParser.php.
Referenced by __construct().
|
protected |
Definition at line 28 of file class.SurveyImportParser.php.
Referenced by handlerBeginTag().
| ilObjSurvey SurveyImportParser::$survey = null |
Definition at line 66 of file class.SurveyImportParser.php.
| bool SurveyImportParser::$survey_status = false |
Definition at line 74 of file class.SurveyImportParser.php.
| string SurveyImportParser::$surveyaccess = "" |
Definition at line 68 of file class.SurveyImportParser.php.
| int SurveyImportParser::$text_size = 0 |
Definition at line 52 of file class.SurveyImportParser.php.
Referenced by getXMLTextSize().
| string SurveyImportParser::$textblock = "" |
Definition at line 72 of file class.SurveyImportParser.php.
Referenced by handlerEndTag().
| array SurveyImportParser::$textblocks = [] |
Definition at line 73 of file class.SurveyImportParser.php.
| int SurveyImportParser::$texts = 0 |
Definition at line 51 of file class.SurveyImportParser.php.
Referenced by getXMLTextSections().
| array SurveyImportParser::$variables = [] |
Definition at line 58 of file class.SurveyImportParser.php.