public function import_description($question) {
        // Get common parts.
        $qo = $this->import_headers($question);
        // Header parts particular to shortanswer.
        $qo->qtype = 'description';
        $qo->defaultmark = 0;
        $qo->length = 0;
        return $qo;
    }
public function import_description($question) {
        // Get common parts.
        $qo = $this->import_headers($question);
        // Header parts particular to shortanswer.
        $qo->qtype = 'description';
        $qo->defaultmark = 0;
        $qo->length = 0;
        return $qo;
    }
public function import_description ( $ question ) { // Get common parts. $ qo = $ this -> import_headers ( $ question ) ; // Header parts particular to shortanswer. $ qo -> qtype = 'description' ; $ qo -> defaultmark = 0 ; $ qo -> length = 0 ; return $ qo ; }
Import description type question
@param array question question array from xml tree
@return object question object
Import description type question