Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 264 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 classes

error_messages:: (8 methods):
  __construct()
  __clone()
  instance()
  add()
  errors()
  reset()
  to_string()
  __toString()

libxml_errors_mgr:: (5 methods):
  __construct()
  collect_errors()
  __destruct()
  collect()
  validate_xml()

cc_validate_type:: (2 methods):
  __construct()
  validate()

manifest_validator:: (1 method):
  __construct()

manifest10_validator:: (1 method):
  __construct()

blti_validator:: (1 method):
  __construct()

assesment_validator:: (1 method):
  __construct()

discussion_validator:: (1 method):
  __construct()

weblink_validator:: (1 method):
  __construct()


Class: error_messages  - X-Ref

Provides validation classes used by the imscc converters

__construct()   X-Ref


__clone()   X-Ref
No description

instance()   X-Ref

return: error_messages

add($msg)   X-Ref

param: string $msg

errors()   X-Ref

return: array

reset()   X-Ref
Empties the error content


to_string($web = false)   X-Ref

param: boolean $web
return: string

__toString()   X-Ref
Casting to string method

return: string

Class: libxml_errors_mgr  - X-Ref

__construct($reset=false)   X-Ref

param: boolean $reset

collect_errors($filename='')   X-Ref
No description

__destruct()   X-Ref
No description

collect()   X-Ref
No description

validate_xml($xml, $schema)   X-Ref
No description

Class: cc_validate_type  - X-Ref

__construct($type, $location)   X-Ref


validate($element)   X-Ref
Validates the item

param: string $element - File path for the xml
return: boolean

Class: manifest_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: manifest10_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: blti_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: assesment_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: discussion_validator  - X-Ref

__construct($location)   X-Ref
No description

Class: weblink_validator  - X-Ref

__construct($location)   X-Ref
No description