CanvasAssessmentMeta
in package
Canvas course-export quiz settings (assessment_meta.xml).
Only used when Setup export is Canvas. Not Common Cartridge.
Table of Contents
Constants
- NS : mixed = 'http://canvas.instructure.com/xsd/cccv1p0'
Methods
- xml() : string
Constants
NS
public
mixed
NS
= 'http://canvas.instructure.com/xsd/cccv1p0'
Methods
xml()
public
static xml(string $identifier, string $title, string $description, int|float $pointsPossible[, int $allowedAttempts = 1 ][, string $quizIdentifierref = '' ]) : string
Parameters
- $identifier : string
-
Quiz folder / QTI assessment ident
- $title : string
- $description : string
-
HTML or text
- $pointsPossible : int|float
- $allowedAttempts : int = 1
- $quizIdentifierref : string = ''
-
Quiz migration_id (folder / QTI assessment ident)
Return values
string —UTF-8 XML