Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | Protected Attributes | List of all members
discussion_validator Class Reference
Inheritance diagram for discussion_validator:
cc_validate_type

Public Member Functions

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

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: