Class for question exports. More...
Inheritance diagram for assQuestionExport:Public Member Functions | |
| assQuestionExport (&$a_object) | |
| assQuestionExport constructor | |
| 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. | |
Data Fields | |
| $object | |
Class for question exports.
exportQuestion is a basis class question exports
Definition at line 34 of file class.assQuestionExport.php.
| assQuestionExport::assQuestionExport | ( | &$ | a_object | ) |
assQuestionExport constructor
| object | $a_object The question object public |
Definition at line 51 of file class.assQuestionExport.php.
{
$this->object =& $a_object;
}
| 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
Reimplemented in assClozeTestExport, assFlashAppExport, assImagemapQuestionExport, assJavaAppletExport, assMatchingQuestionExport, assMultipleChoiceExport, assNumericExport, assOrderingQuestionExport, assSingleChoiceExport, assTextQuestionExport, and assTextSubsetExport.
Definition at line 65 of file class.assQuestionExport.php.
{
}
| assQuestionExport::$object |
Definition at line 43 of file class.assQuestionExport.php.
1.7.1