Public Member Functions | Data Fields

assQuestionExport Class Reference
[Modules/TestQuestionPool]

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

Detailed Description

Class for question exports.

exportQuestion is a basis class question exports

Author:
Helmut Schottmüller <helmut.schottmueller@mac.com>
Version:
$Id$

Definition at line 34 of file class.assQuestionExport.php.


Member Function Documentation

assQuestionExport::assQuestionExport ( &$  a_object  ) 

assQuestionExport constructor

Parameters:
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

Returns:
string The QTI xml representation of the question public

Reimplemented in assClozeTestExport, assFlashAppExport, assImagemapQuestionExport, assJavaAppletExport, assMatchingQuestionExport, assMultipleChoiceExport, assNumericExport, assOrderingQuestionExport, assSingleChoiceExport, assTextQuestionExport, and assTextSubsetExport.

Definition at line 65 of file class.assQuestionExport.php.

        {
        }


Field Documentation

assQuestionExport::$object

Definition at line 43 of file class.assQuestionExport.php.


The documentation for this class was generated from the following file: