Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

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

(no description)

File Size: 264 lines (7 kb)
Included or required:0 times
Referenced: 2 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

return: string
param: boolean $web

__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

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

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