Quick Navigation
×
Moodle 4.2 XRef and Diffs
Home
Quick Navigation
Moodle 4.2
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.2 Database Schema
Versions
Moodle 4.3
Moodle 4.2
Moodle 4.1
Moodle 4.0
Moodle 3.11
Moodle 3.10
Moodle 3.9
Classes
Functions
Variables
Constants
Tables
Namespaces
Search
Search moodle.org's
Developer Documentation
Search
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.
Moodle 4.2 Database Schema (by Marcus Green)
/lib/tests/
Up one level
analytics/
behat/
content/
context/
db/
event/
external/
fixtures/
hub/
lock/
moodlenet/
navigation/
oauth2/
other/
output/
performance/
plugininfo/
task/
accesslib_has_capability_test.php
[
source
] [700 lines]
A collection of tests for accesslib::has_capability().
accesslib_test.php
[
source
] [5283 lines]
Full functional accesslib test.
adminlib_test.php
[
source
] [129 lines]
admintree_test.php
[
source
] [457 lines]
ajaxlib_test.php
[
source
] [130 lines]
analysers_test.php
[
source
] [272 lines]
antivirus_test.php
[
source
] [305 lines]
authlib_test.php
[
source
] [463 lines]
behat_lib_test.php
[
source
] [96 lines]
Unit tests for parts of /lib/behat/lib.php.
blocklib_test.php
[
source
] [865 lines]
check_test.php
[
source
] [56 lines]
client_test.php
[
source
] [125 lines]
collator_test.php
[
source
] [337 lines]
Unit tests for our utf-8 aware collator which is used for sorting.
completionlib_test.php
[
source
] [2078 lines]
component_test.php
[
source
] [986 lines]
componentlib_test.php
[
source
] [199 lines]
Unit tests for /lib/componentlib.class.php.
configonlylib_test.php
[
source
] [218 lines]
content_test.php
[
source
] [119 lines]
Unit tests for core\content class.
context_block_test.php
[
source
] [108 lines]
context_helper_test.php
[
source
] [530 lines]
context_test.php
[
source
] [106 lines]
core_media_player_native_test.php
[
source
] [158 lines]
core_renderer_template_exploit_test.php
[
source
] [443 lines]
coverage.php
[
source
] [119 lines]
Coverage information for the core subsystem.
cron_test.php
[
source
] [159 lines]
csslib_test.php
[
source
] [51 lines]
csvclass_test.php
[
source
] [152 lines]
curl_security_helper_test.php
[
source
] [296 lines]
customcontext_test.php
[
source
] [180 lines]
Code quality unit tests that are fast enough to run each time.
dataformat_test.php
[
source
] [115 lines]
Tests for the dataformat plugins
datalib_test.php
[
source
] [1098 lines]
datalib_update_with_unique_index_test.php
[
source
] [120 lines]
date_legacy_test.php
[
source
] [339 lines]
date_test.php
[
source
] [617 lines]
Tests core_date class.
editorlib_test.php
[
source
] [57 lines]
encryption_test.php
[
source
] [265 lines]
Test encryption.
environment_test.php
[
source
] [232 lines]
event_course_module_instance_list_viewed.php
[
source
] [74 lines]
Tests for base course module instance list viewed event.
event_course_module_viewed.php
[
source
] [92 lines]
Tests for base course module viewed event.
exporter_test.php
[
source
] [286 lines]
Exporter testcase.
externallib_test.php
[
source
] [61 lines]
filelib_test.php
[
source
] [2089 lines]
Unit tests for /lib/filelib.php.
filestorage_zip_archive_test.php
[
source
] [82 lines]
filetypes_test.php
[
source
] [249 lines]
filter_manager_test.php
[
source
] [80 lines]
filterlib_test.php
[
source
] [905 lines]
formslib_test.php
[
source
] [1016 lines]
Unit tests for /lib/formslib.php.
gdlib_test.php
[
source
] [147 lines]
googlelib_test.php
[
source
] [45 lines]
gradelib_test.php
[
source
] [349 lines]
grades_external_test.php
[
source
] [356 lines]
grading_external_test.php
[
source
] [648 lines]
graphlib_test.php
[
source
] [121 lines]
grouplib_test.php
[
source
] [2355 lines]
h5p_clean_orphaned_records_task_test.php
[
source
] [86 lines]
html2text_test.php
[
source
] [188 lines]
html_writer_test.php
[
source
] [316 lines]
Unit tests for the html_writer class.
htmlpurifier_test.php
[
source
] [509 lines]
http_client_test.php
[
source
] [412 lines]
ip_utils_test.php
[
source
] [403 lines]
jquery_test.php
[
source
] [49 lines]
ldaplib_test.php
[
source
] [475 lines]
licenselib_test.php
[
source
] [348 lines]
licenselib tests.
lock_config_test.php
[
source
] [98 lines]
lock_test.php
[
source
] [133 lines]
markdown_test.php
[
source
] [64 lines]
mathslib_test.php
[
source
] [409 lines]
medialib_test.php
[
source
] [489 lines]
message_test.php
[
source
] [260 lines]
messageinbound_test.php
[
source
] [175 lines]
Test script for message class. Test classes for \core\message\inbound.
messagelib_test.php
[
source
] [1275 lines]
minify_test.php
[
source
] [122 lines]
modinfolib_test.php
[
source
] [1258 lines]
moodle_page_test.php
[
source
] [889 lines]
Tests for the moodle_page class.
moodle_url_test.php
[
source
] [402 lines]
moodlelib_current_language_test.php
[
source
] [196 lines]
Unit tests for current_language() in moodlelib.php.
moodlelib_test.php
[
source
] [5590 lines]
myprofilelib_test.php
[
source
] [313 lines]
navigationlib_test.php
[
source
] [805 lines]
notification_test.php
[
source
] [121 lines]
oauth2_test.php
[
source
] [620 lines]
outputcomponents_test.php
[
source
] [784 lines]
outputfactories_test.php
[
source
] [153 lines]
outputrenderers_test.php
[
source
] [47 lines]
outputrequirementslib_test.php
[
source
] [388 lines]
pdflib_test.php
[
source
] [100 lines]
persistent_test.php
[
source
] [860 lines]
phpxmlrpc_test.php
[
source
] [57 lines]
plugin_manager_test.php
[
source
] [620 lines]
portfoliolib_test.php
[
source
] [170 lines]
Portfolio lib tests.
progress_display_test.php
[
source
] [104 lines]
progress_test.php
[
source
] [425 lines]
qrcode_test.php
[
source
] [47 lines]
questionlib_test.php
[
source
] [2304 lines]
regex_test.php
[
source
] [38 lines]
report_helper_test.php
[
source
] [78 lines]
Tests for report_helper.
requirejs_test.php
[
source
] [63 lines]
rsslib_test.php
[
source
] [158 lines]
rtlcss_test.php
[
source
] [1266 lines]
Tests for the core_rtlcss class. The core_rtlcss class extends \MoodleHQ\RTLCSS\RTLCSS library which depends on sabberworm/php-css-parser library. This test verifies that css parsing works as expected should any of the above change.
scss_test.php
[
source
] [147 lines]
session_manager_test.php
[
source
] [924 lines]
session_redis_test.php
[
source
] [339 lines]
sessionlib_test.php
[
source
] [329 lines]
setuplib_test.php
[
source
] [545 lines]
statslib_test.php
[
source
] [769 lines]
string_manager_standard_test.php
[
source
] [249 lines]
Unit tests for localization support in lib/moodlelib.php
tablelib_test.php
[
source
] [832 lines]
text_test.php
[
source
] [634 lines]
core_text unit tests.
theme_config_test.php
[
source
] [234 lines]
Tests the theme config class.
update_api_test.php
[
source
] [147 lines]
update_checker_test.php
[
source
] [289 lines]
update_code_manager_test.php
[
source
] [188 lines]
update_validator_test.php
[
source
] [370 lines]
upgrade_util_test.php
[
source
] [156 lines]
upgradelib_test.php
[
source
] [1620 lines]
Unit tests for the lib/upgradelib.php library.
user_menu_test.php
[
source
] [111 lines]
user_test.php
[
source
] [885 lines]
useragent_test.php
[
source
] [2039 lines]
weblib_format_text_test.php
[
source
] [286 lines]
weblib_test.php
[
source
] [1450 lines]
xhprof_test.php
[
source
] [245 lines]
xhtml_container_stack_test.php
[
source
] [131 lines]
xmlize_test.php
[
source
] [66 lines]