Quick Navigation
×
Moodle 4.1 XRef and Diffs
Home
Quick Navigation
Moodle 4.1
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.1 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
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.
Moodle 4.1 Database Schema (by Marcus Green)
/lib/tests/
Up one level
analytics/
behat/
content/
db/
event/
external/
fixtures/
lock/
navigation/
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
] [5036 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
] [473 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
] [2083 lines]
component_test.php
[
source
] [879 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]
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.
cronlib_test.php
[
source
] [187 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
] [153 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
] [76 lines]
Tests for base course module instance list viewed event.
event_course_module_viewed.php
[
source
] [95 lines]
Tests for base course module viewed event.
exporter_test.php
[
source
] [283 lines]
Exporter testcase.
externallib_test.php
[
source
] [696 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
] [305 lines]
grades_external_test.php
[
source
] [355 lines]
grading_external_test.php
[
source
] [647 lines]
graphlib_test.php
[
source
] [121 lines]
grouplib_test.php
[
source
] [1912 lines]
h5p_clean_orphaned_records_task_test.php
[
source
] [85 lines]
html2text_test.php
[
source
] [188 lines]
html_writer_test.php
[
source
] [318 lines]
Unit tests for the html_writer class.
htmlpurifier_test.php
[
source
] [509 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
] [320 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
] [5593 lines]
myprofilelib_test.php
[
source
] [314 lines]
navigationlib_test.php
[
source
] [807 lines]
notification_test.php
[
source
] [121 lines]
oauth2_test.php
[
source
] [620 lines]
outputcomponents_test.php
[
source
] [704 lines]
outputfactories_test.php
[
source
] [153 lines]
outputrequirementslib_test.php
[
source
] [138 lines]
pdflib_test.php
[
source
] [69 lines]
persistent_test.php
[
source
] [832 lines]
Persistent class tests.
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
] [2287 lines]
regex_test.php
[
source
] [38 lines]
report_helper_test.php
[
source
] [116 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
] [905 lines]
session_redis_test.php
[
source
] [339 lines]
sessionlib_test.php
[
source
] [309 lines]
setuplib_test.php
[
source
] [523 lines]
statslib_test.php
[
source
] [770 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
] [146 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
] [161 lines]
upgradelib_test.php
[
source
] [1503 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
] [1320 lines]
xhprof_test.php
[
source
] [245 lines]
xhtml_container_stack_test.php
[
source
] [131 lines]
xmlize_test.php
[
source
] [66 lines]