Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]

Exporter testcase.

Copyright: 2015 Damyon Wiese
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 283 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes


Class: exporter_test  - X-Ref

Exporter testcase.

setUp()   X-Ref
No description

test_get_read_structure()   X-Ref
No description

test_get_create_structure()   X-Ref
No description

test_get_update_structure()   X-Ref
No description

test_invalid_data()   X-Ref
No description

test_invalid_related()   X-Ref
No description

Class: is  - X-Ref

test_invalid_related_all_cases()   X-Ref
No description

test_valid_data_and_related()   X-Ref
No description

test_format_text()   X-Ref
No description

test_properties_description()   X-Ref
No description

Class: core_testable_exporter  - X-Ref

Example persistent class.

define_related()   X-Ref
No description

get_other_values(\renderer_base $output)   X-Ref
No description

define_properties()   X-Ref
No description

define_other_properties()   X-Ref
No description

get_format_parameters_for_stringA()   X-Ref
No description

get_format_parameters_for_otherstring()   X-Ref
No description

get_format_parameters_for_otherstrings()   X-Ref
No description