Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
assesment_validator Class Reference
Inheritance diagram for assesment_validator:
cc_validate_type

Public Member Functions

 __construct ($location)
 
 validate ($element)
 Validates the item.
 

Public Attributes

const assesment_validator1 = '/domainProfile_4/ims_qtiasiv1p2_localised.xsd'
 
const assesment_validator11 = 'ccv1p1_qtiasiv1p2p1_v1p0.xsd'
 
const blti_validator11 = 'imslticc_v1p0p1.xsd'
 
const discussion_validator1 = '/domainProfile_6/imsdt_v1p0_localised.xsd'
 
const discussion_validator11 = 'ccv1p1_imsdt_v1p1.xsd'
 
const manifest_validator1 = 'cclibxml2validator.xsd'
 
const manifest_validator11 = 'cc11libxml2validator.xsd'
 
const weblink_validator1 = '/domainProfile_5/imswl_v1p0_localised.xsd'
 
const weblink_validator11 = 'ccv1p1_imswl_v1p1.xsd'
 

Protected Attributes

string $location = null
 
string $type = null
 

Member Function Documentation

◆ validate()

cc_validate_type::validate ( $element)
inherited

Validates the item.

Parameters
string$element- File path for the xml
Return values
boolean

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