ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class for question exports. More...
Public Member Functions | |
__construct ($a_object) | |
assQuestionExport constructor More... | |
exportFeedbackOnly ($a_xml_writer) | |
toXML ($a_include_header=true, $a_include_binary=true, $a_shuffle=false, $test_output=false, $force_image_references=false) | |
Returns a QTI xml representation of the question. More... | |
Data Fields | |
$object | |
Protected Member Functions | |
addAnswerSpecificFeedback (ilXmlWriter $a_xml_writer, $answers) | |
addGenericFeedback (ilXmlWriter $a_xml_writer) | |
addQtiMetaDataField (ilXmlWriter $a_xml_writer, $fieldLabel, $fieldValue) | |
adds a qti meta data field with given name and value to the passed xml writer (xml writer must be in context of opened "qtimetadata" tag) More... | |
addAdditionalContentEditingModeInformation (ilXmlWriter $a_xml_writer) | |
adds a qti meta data field for ilias specific information of "additional content editing mode" (xml writer must be in context of opened "qtimetadata" tag) More... | |
addGeneralMetadata (ilXmlWriter $xmlwriter) | |
Class for question exports.
exportQuestion is a basis class question exports
Definition at line 15 of file class.assQuestionExport.php.
assQuestionExport::__construct | ( | $a_object | ) |
assQuestionExport constructor
object | $a_object | The question object public |
Definition at line 32 of file class.assQuestionExport.php.
|
finalprotected |
adds a qti meta data field for ilias specific information of "additional content editing mode" (xml writer must be in context of opened "qtimetadata" tag)
protected
ilXmlWriter | $a_xml_writer |
Definition at line 200 of file class.assQuestionExport.php.
References addQtiMetaDataField(), and object.
Referenced by assLongMenuExport\toXML(), assKprimChoiceExport\toXML(), assErrorTextExport\toXML(), assFlashQuestionExport\toXML(), assFileUploadExport\toXML(), assOrderingHorizontalExport\toXML(), assSingleChoiceExport\toXML(), assMultipleChoiceExport\toXML(), assMatchingQuestionExport\toXML(), assTextSubsetExport\toXML(), assTextQuestionExport\toXML(), assJavaAppletExport\toXML(), assNumericExport\toXML(), assFormulaQuestionExport\toXML(), assClozeTestExport\toXML(), assImagemapQuestionExport\toXML(), and assOrderingQuestionExport\toXML().
|
protected |
ilXmlWriter | $a_xml_writer |
Definition at line 40 of file class.assQuestionExport.php.
References array, object, ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by assErrorTextExport\toXML(), assOrderingHorizontalExport\toXML(), and assTextQuestionExport\toXML().
|
protected |
ilXmlWriter | $xmlwriter |
Definition at line 210 of file class.assQuestionExport.php.
References addQtiMetaDataField(), and object.
Referenced by assLongMenuExport\toXML(), assKprimChoiceExport\toXML(), assErrorTextExport\toXML(), assFlashQuestionExport\toXML(), assFileUploadExport\toXML(), assOrderingHorizontalExport\toXML(), assSingleChoiceExport\toXML(), assMultipleChoiceExport\toXML(), assMatchingQuestionExport\toXML(), assTextSubsetExport\toXML(), assTextQuestionExport\toXML(), assJavaAppletExport\toXML(), assNumericExport\toXML(), assFormulaQuestionExport\toXML(), assClozeTestExport\toXML(), assImagemapQuestionExport\toXML(), and assOrderingQuestionExport\toXML().
|
protected |
ilXmlWriter | $a_xml_writer |
Definition at line 64 of file class.assQuestionExport.php.
References exportFeedbackOnly().
Referenced by assErrorTextExport\toXML(), assOrderingHorizontalExport\toXML(), and assFormulaQuestionExport\toXML().
|
finalprotected |
adds a qti meta data field with given name and value to the passed xml writer (xml writer must be in context of opened "qtimetadata" tag)
protected
ilXmlWriter | $a_xml_writer | |
string | $fieldLabel | |
string | $fieldValue |
Definition at line 184 of file class.assQuestionExport.php.
References ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by addAdditionalContentEditingModeInformation(), addGeneralMetadata(), assSingleChoiceExport\toXML(), and assMultipleChoiceExport\toXML().
assQuestionExport::exportFeedbackOnly | ( | $a_xml_writer | ) |
Definition at line 69 of file class.assQuestionExport.php.
Referenced by addGenericFeedback(), assFileUploadExport\toXML(), and assFlashQuestionExport\toXML().
assQuestionExport::toXML | ( | $a_include_header = true , |
|
$a_include_binary = true , |
|||
$a_shuffle = false , |
|||
$test_output = false , |
|||
$force_image_references = false |
|||
) |
Returns a QTI xml representation of the question.
Returns a QTI xml representation of the question and sets the internal domxml variable with the DOM XML representation of the QTI xml representation
Definition at line 170 of file class.assQuestionExport.php.
assQuestionExport::$object |
Definition at line 24 of file class.assQuestionExport.php.