Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

Exporter testcase.

Copyright: 2015 Damyon Wiese
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 286 lines (12 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