Quick Navigation
×
Moodle 4.0 XRef and Diffs
Home
Quick Navigation
Moodle 4.0
Classes
Functions
Variables
Constants
Namespaces
Statistics
Moodle 4.0 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.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.
Moodle 4.0 Database Schema (by Marcus Green)
set_pagelayout
[
Top level directory
]
Function and Method Cross Reference
at:
/lib/pagelib.php
->
line 1284
Referenced 423 times:
/course/editcategory.php
->
line 89
/enrol/lti/index.php
->
line 53
/report/completion/index.php
->
line 54
/admin/upgradesettings.php
->
line 20
/mod/quiz/editrandom.php
->
line 54
/course/search.php
->
line 68
/calendar/export.php
->
line 133
/admin/tool/installaddon/index.php
->
line 54
/admin/tool/installaddon/index.php
->
line 79
/course/view.php
->
line 96
/mod/forum/search.php
->
line 72
/files/coursefilesedit.php
->
line 46
/grade/edit/tree/calculation.php
->
line 49
/report/insights/prediction.php
->
line 46
/blocks/html/tests/search_content_test.php
->
line 67
/grade/edit/letter/index.php
->
line 64
/lib/editor/tinymce/plugins/moodlemedia/preview.php
->
line 36
/backup/moodle2/tests/moodle2_test.php
->
line 825
/backup/moodle2/tests/moodle2_test.php
->
line 892
/enrol/lti/configure.php
->
line 91
/user/view.php
->
line 163
/group/grouping.php
->
line 72
/repository/manage_instances.php
->
line 72
/mod/wiki/pagelib.php
->
line 2263
/calendar/managesubscriptions.php
->
line 55
/badges/endorsement.php
->
line 50
/badges/endorsement.php
->
line 53
/report/participation/index.php
->
line 54
/admin/tool/policy/user.php
->
line 50
/blocks/rss_client/managefeeds.php
->
line 81
/course/editdefaultcompletion.php
->
line 37
/blocks/accessreview/tests/accessibility_review_test.php
->
line 114
/mod/book/tool/print/index.php
->
line 58
/grade/edit/outcome/edit.php
->
line 41
/tag/index.php
->
line 87
/message/edit.php
->
line 55
/lib/tests/fixtures/securetestpage.php
->
line 29
/report/log/user.php
->
line 77
/group/group.php
->
line 80
/badges/alignment.php
->
line 51
/badges/alignment.php
->
line 54
/blog/lib.php
->
line 696
/admin/tool/monitor/managerules.php
->
line 56
/admin/tool/componentlibrary/examples/dynamictabs.php
->
line 39
/blocks/myoverview/tests/myoverview_test.php
->
line 66
/blocks/classes/external.php
->
line 181
/blocks/classes/external.php
->
line 184
/blocks/classes/external.php
->
line 276
/cohort/assign.php
->
line 40
/grade/edit/tree/index.php
->
line 39
/mod/page/index.php
->
line 33
/badges/criteria_settings.php
->
line 69
/badges/criteria_settings.php
->
line 72
/admin/tool/recyclebin/index.php
->
line 44
/admin/tool/recyclebin/index.php
->
line 62
/admin/tool/filetypes/index.php
->
line 36
/lib/upgradelib.php
->
line 1552
/admin/tool/moodlenet/select.php
->
line 43
/group/import.php
->
line 48
/admin/renderer.php
->
line 428
/mod/forum/user.php
->
line 57
/course/tags.php
->
line 45
/course/management.php
->
line 107
/admin/plugins.php
->
line 64
/admin/plugins.php
->
line 127
/admin/plugins.php
->
line 173
/admin/plugins.php
->
line 190
/lib/blocklib.php
->
line 1507
/lib/blocklib.php
->
line 1582
/lib/blocklib.php
->
line 1726
/mod/quiz/report.php
->
line 67
/grade/export/index.php
->
line 49
/mod/quiz/accessrule/seb/tests/test_helper_trait.php
->
line 269
/blocks/tests/externallib_test.php
->
line 55
/blocks/tests/externallib_test.php
->
line 85
/blocks/tests/externallib_test.php
->
line 157
/blocks/tests/externallib_test.php
->
line 168
/blocks/tests/externallib_test.php
->
line 261
/blocks/tests/externallib_test.php
->
line 272
/blocks/tests/externallib_test.php
->
line 431
/course/index.php
->
line 62
/enrol/index.php
->
line 56
/admin/roles/usersroles.php
->
line 44
/admin/tool/httpsreplace/index.php
->
line 35
/blocks/mnet_hosts/tests/mnet_hosts_test.php
->
line 51
/mod/lesson/overrides.php
->
line 66
/lib/tests/moodle_page_test.php
->
line 342
/lib/tests/moodle_page_test.php
->
line 602
/lib/tests/moodle_page_test.php
->
line 640
/admin/tool/dataprivacy/tests/expired_contexts_test.php
->
line 2147
/mod/data/templates.php
->
line 103
/course/modedit.php
->
line 140
/blocks/blog_recent/tests/blog_recent_test.php
->
line 51
/backup/restore.php
->
line 50
/h5p/overview.php
->
line 37
/repository/googledocs/lib.php
->
line 162
/blocks/completionstatus/tests/completionstatus_test.php
->
line 51
/mod/assign/locallib.php
->
line 4470
/mod/assign/locallib.php
->
line 4780
/mod/assign/locallib.php
->
line 5369
/mod/quiz/overridedelete.php
->
line 86
/user/portfoliologs.php
->
line 63
/mod/scorm/report.php
->
line 55
/mod/chat/index.php
->
line 29
/badges/preferences.php
->
line 36
/grade/lib.php
->
line 887
/grade/lib.php
->
line 889
/lib/weblib.php
->
line 2900
/lib/weblib.php
->
line 3155
/admin/tool/filetypes/delete.php
->
line 48
/admin/category.php
->
line 37
/badges/backpack-export.php
->
line 30
/badges/backpack-export.php
->
line 51
/backup/import.php
->
line 59
/grade/edit/tree/category.php
->
line 39
/blocks/completionstatus/details.php
->
line 74
/question/editlib.php
->
line 217
/mod/assign/overridedelete.php
->
line 81
/mod/quiz/edit.php
->
line 177
/grade/report/overview/index.php
->
line 156
/grade/report/overview/index.php
->
line 184
/enrol/lti/launch.php
->
line 115
/auth/shibboleth/login.php
->
line 60
/grade/edit/scale/index.php
->
line 42
/admin/tool/httpsreplace/tool.php
->
line 38
/course/recent.php
->
line 33
/enrol/lti/proxy.php
->
line 41
/mod/scorm/index.php
->
line 33
/backup/backup.php
->
line 62
/admin/tool/dataprivacy/classes/page_helper.php
->
line 66
/backup/restorefile.php
->
line 123
/group/autogroup.php
->
line 55
/badges/action.php
->
line 48
/badges/action.php
->
line 51
/course/reset.php
->
line 40
/blocks/badges/tests/badges_test.php
->
line 51
/blog/external_blog_edit.php
->
line 47
/blocks/lp/tests/lp_test.php
->
line 51
/grade/edit/tree/grade.php
->
line 51
/portfolio/add.php
->
line 52
/login/forgot_password.php
->
line 51
/course/user.php
->
line 70
/lib/editor/atto/plugins/managefiles/manage.php
->
line 65
/admin/tool/admin_presets/index.php
->
line 53
/report/competency/index.php
->
line 74
/mod/lti/externalregistrationreturn.php
->
line 44
/grade/import/xml/index.php
->
line 25
/tag/edit.php
->
line 71
/calendar/import.php
->
line 83
/repository/nextcloud/lib.php
->
line 849
/group/overview.php
->
line 195
/mod/assign/overrides.php
->
line 82
/backup/copy.php
->
line 58
/mod/assign/overrideedit.php
->
line 257
/admin/tool/monitor/edit.php
->
line 52
/badges/badgeclass.php
->
line 35
/mod/quiz/overrideedit.php
->
line 241
/notes/index.php
->
line 119
/repository/draftfiles_manager.php
->
line 43
/blog/preferences.php
->
line 56
/cohort/index.php
->
line 60
/mod/chat/gui_ajax/index.php
->
line 88
/report/stats/user.php
->
line 61
/admin/tool/filetypes/edit.php
->
line 109
/badges/award.php
->
line 56
/badges/award.php
->
line 59
/admin/tool/policy/classes/output/page_nopermission.php
->
line 115
/auth/lti/login.php
->
line 80
/auth/lti/login.php
->
line 104
/auth/lti/login.php
->
line 118
/admin/tool/oauth2/issuers.php
->
line 31
/mod/url/index.php
->
line 33
/question/bank/exporttoxml/exportone.php
->
line 63
/grade/edit/outcome/import.php
->
line 37
/login/change_password.php
->
line 71
/admin/tool/componentlibrary/examples/formfields.php
->
line 35
/course/defaultcompletion.php
->
line 57
/user/contactsitesupport.php
->
line 35
/group/assign.php
->
line 132
/admin/tool/lp/competencies.php
->
line 62
/login/digital_minor.php
->
line 54
/report/insights/done.php
->
line 31
/files/index.php
->
line 71
/admin/roles/override.php
->
line 56
/badges/external.php
->
line 83
/mod/quiz/comment.php
->
line 49
/mod/quiz/index.php
->
line 36
/mod/quiz/overrides.php
->
line 68
/mod/feedback/view.php
->
line 41
/badges/edit.php
->
line 58
/badges/edit.php
->
line 61
/login/verify_age_location.php
->
line 57
/admin/tool/policy/index.php
->
line 61
/mod/page/view.php
->
line 67
/admin/tool/lp/user_competency.php
->
line 48
/grade/edit/outcome/index.php
->
line 34
/mod/quiz/reviewquestion.php
->
line 54
/report/outline/user.php
->
line 64
/admin/tool/brickfield/index.php
->
line 122
/mod/lti/view.php
->
line 94
/mod/lti/view.php
->
line 102
/mod/bigbluebuttonbn/index.php
->
line 42
/mod/choice/index.php
->
line 15
/user/files.php
->
line 42
/grade/edit/tree/item.php
->
line 39
/course/recommendations.php
->
line 36
/enrol/lti/register.php
->
line 49
/enrol/unenroluser.php
->
line 63
/tag/search.php
->
line 46
/login/signup.php
->
line 103
/blocks/comments/tests/privacy/provider_test.php
->
line 120
/blocks/comments/tests/privacy/provider_test.php
->
line 124
/blocks/comments/tests/privacy/provider_test.php
->
line 130
/blocks/comments/tests/privacy/provider_test.php
->
line 138
/blocks/comments/tests/privacy/provider_test.php
->
line 152
/grade/import/index.php
->
line 49
/mod/feedback/complete.php
->
line 70
/blocks/classes/external/fetch_addable_blocks.php
->
line 89
/search/index.php
->
line 43
/message/index.php
->
line 71
/mod/chat/gui_sockets/chatinput.php
->
line 35
/mod/data/index.php
->
line 38
/question/bank/editquestion/question.php
->
line 112
/mod/survey/index.php
->
line 15
/blocks/blog_menu/tests/blog_menu_test.php
->
line 51
/admin/tool/dbtransfer/index.php
->
line 64
/badges/mybackpack.php
->
line 51
/user/editadvanced.php
->
line 47
/user/editadvanced.php
->
line 55
/blocks/glossary_random/tests/glossary_random_test.php
->
line 51
/admin/tool/componentlibrary/jsdocspage.php
->
line 39
/lib/moodlelib.php
->
line 2857
/lib/moodlelib.php
->
line 3085
/lib/moodlelib.php
->
line 3226
/index.php
->
line 44
/repository/onedrive/lib.php
->
line 143
/user/edit.php
->
line 130
/h5p/edit.php
->
line 89
/admin/tool/lpimportcsv/index.php
->
line 38
/course/scales.php
->
line 38
/course/completion.php
->
line 78
/mod/glossary/print.php
->
line 62
/lib/editor/tinymce/plugins/managefiles/manage.php
->
line 61
/blocks/rss_client/viewfeed.php
->
line 57
/badges/newbadge.php
->
line 50
/badges/newbadge.php
->
line 57
/course/bulkcompletion.php
->
line 57
/webservice/wsdoc.php
->
line 38
/badges/badge.php
->
line 38
/lib/tests/navigation/views/secondary_test.php
->
line 122
/badges/recipients.php
->
line 67
/badges/recipients.php
->
line 70
/grade/report/singleview/index.php
->
line 61
/grade/report/singleview/index.php
->
line 108
/mod/lti/startltiadvregistration.php
->
line 49
/course/editbulkcompletion.php
->
line 37
/mod/lti/request_tool.php
->
line 52
/backup/copyprogress.php
->
line 46
/course/admin.php
->
line 36
/mod/glossary/index.php
->
line 20
/report/outline/index.php
->
line 46
/admin/tool/lpmigrate/frameworks.php
->
line 34
/calendar/view.php
->
line 140
/blog/external_blogs.php
->
line 71
/enrol/otherusers.php
->
line 44
/badges/view.php
->
line 68
/badges/view.php
->
line 77
/mod/resource/locallib.php
->
line 127
/mod/quiz/accessrule/seb/rule.php
->
line 298
/mod/quiz/accessrule/seb/rule.php
->
line 472
/admin/tasklogs.php
->
line 33
/mod/chat/gui_header_js/users.php
->
line 44
/user/managetoken.php
->
line 35
/filter/manage.php
->
line 122
/contentbank/edit.php
->
line 109
/badges/backpacks.php
->
line 37
/mod/feedback/print.php
->
line 53
/admin/tool/componentlibrary/docspage.php
->
line 70
/course/info.php
->
line 56
/blocks/lp/plans_to_review.php
->
line 38
/grade/edit/tree/outcomeitem.php
->
line 38
/enrol/lti/tool.php
->
line 32
/question/bank/previewquestion/preview.php
->
line 79
/mod/lti/contentitem_return.php
->
line 38
/admin/tool/lp/classes/page_helper.php
->
line 78
/admin/tool/lp/classes/page_helper.php
->
line 156
/admin/tool/lp/classes/page_helper.php
->
line 229
/admin/tool/lp/classes/page_helper.php
->
line 302
/admin/tool/lp/classes/page_helper.php
->
line 349
/admin/tool/lp/classes/page_helper.php
->
line 442
/mod/feedback/index.php
->
line 41
/enrol/instances.php
->
line 46
/mod/forum/report/summary/index.php
->
line 107
/admin/tool/monitor/index.php
->
line 72
/h5p/embed.php
->
line 60
/h5p/embed.php
->
line 88
/h5p/libraries.php
->
line 41
/badges/index.php
->
line 81
/badges/index.php
->
line 89
/blocks/tags/tests/tags_test.php
->
line 51
/admin/settings.php
->
line 15
/calendar/event.php
->
line 89
/course/delete.php
->
line 45
/contentbank/classes/helper.php
->
line 58
/contentbank/classes/helper.php
->
line 64
/contentbank/classes/helper.php
->
line 70
/badges/overview.php
->
line 52
/badges/overview.php
->
line 55
/mod/url/locallib.php
->
line 206
/group/delete.php
->
line 35
/blocks/html/tests/privacy/provider_test.php
->
line 141
/blocks/html/tests/privacy/provider_test.php
->
line 156
/backup/backupfilesedit.php
->
line 72
/user/portfolio.php
->
line 65
/report/loglive/index.php
->
line 62
/login/index.php
->
line 51
/mod/lti/instructor_edit_tool_type.php
->
line 35
/cohort/edit.php
->
line 73
/admin/tool/policy/view.php
->
line 50
/help.php
->
line 41
/admin/roles/check.php
->
line 84
/group/index.php
->
line 170
/badges/criteria.php
->
line 53
/badges/criteria.php
->
line 56
/user/editlib.php
->
line 115
/admin/tool/lpimportcsv/export.php
->
line 38
/my/courses.php
->
line 53
/report/insights/insights.php
->
line 90
/badges/criteria_action.php
->
line 51
/badges/criteria_action.php
->
line 54
/grade/edit/settings/index.php
->
line 33
/admin/tool/oauth2/userfieldmappings.php
->
line 31
/course/switchrole.php
->
line 79
/reportbuilder/edit.php
->
line 48
/repository/filepicker.php
->
line 39
/user/preferences.php
->
line 44
/mod/lti/index.php
->
line 56
/admin/roles/assign.php
->
line 150
/enrol/manual/manage.php
->
line 70
/mod/wiki/index.php
->
line 45
/blocks/lp/competencies_to_review.php
->
line 38
/grade/edit/scale/edit.php
->
line 34
/mod/glossary/showentry.php
->
line 42
/badges/related.php
->
line 55
/badges/related.php
->
line 58
/user/index.php
->
line 77
/user/index.php
->
line 80
/message/output/popup/notifications.php
->
line 50
/blocks/globalsearch/tests/globalsearch_test.php
->
line 51
/mod/lesson/index.php
->
line 39
/mod/scorm/player.php
->
line 110
/mod/lesson/overridedelete.php
->
line 84
/enrol/editinstance.php
->
line 45
/mod/workshop/index.php
->
line 35
/enrol/lti/launch_deeplink.php
->
line 88
/iplookup/index.php
->
line 45
/admin/tool/oauth2/endpoints.php
->
line 31
/enrol/editenrolment.php
->
line 72
/admin/tool/task/runningtasks.php
->
line 34
/grade/report/grader/preferences.php
->
line 33
/mod/imscp/index.php
->
line 32
/grade/report/history/index.php
->
line 35
/report/log/index.php
->
line 105
/admin/tool/moodlenet/options.php
->
line 100
/admin/tool/policy/classes/output/page_viewalldoc.php
->
line 89
/report/progress/index.php
->
line 98
/admin/tool/lp/competencyframeworks.php
->
line 46
/admin/tool/filetypes/revert.php
->
line 48
/mod/book/index.php
->
line 35
/mod/lti/auth.php
->
line 31
/cohort/upload.php
->
line 48
/admin/index.php
->
line 170
/admin/index.php
->
line 210
/admin/index.php
->
line 292
/mod/folder/index.php
->
line 33
/report/view.php
->
line 41
/lib/ajax/blocks.php
->
line 57
/my/index.php
->
line 96
/auth/oauth2/linkedlogins.php
->
line 31
/mod/forum/index.php
->
line 49
/blocks/comments/tests/comments_test.php
->
line 51
/mod/quiz/accessrule/securewindow/rule.php
->
line 75
/blocks/rss_client/editfeed.php
->
line 179
/group/groupings.php
->
line 59
/course/report.php
->
line 9
/mod/chat/gui_basic/index.php
->
line 60
/mod/lesson/editpage.php
->
line 54
/admin/roles/permissions.php
->
line 93
/search/tests/manager_test.php
->
line 788
/search/tests/manager_test.php
->
line 800
/search/tests/manager_test.php
->
line 810
/search/tests/manager_test.php
->
line 821
/report/stats/index.php
->
line 88
/report/usersessions/user.php
->
line 51
/admin/tool/analytics/classes/output/helper.php
->
line 95
/admin/tool/moodlenet/index.php
->
line 111
/mod/lesson/mediafile.php
->
line 52
/group/members.php
->
line 38
/user/profile.php
->
line 85
/user/profile.php
->
line 101
/mod/resource/index.php
->
line 33
/course/resources.php
->
line 32
/lib/tests/other/chartjstestpage.php
->
line 34
/mod/assign/index.php
->
line 33
/badges/mybadges.php
->
line 93
/course/edit.php
->
line 65
/mod/lti/return.php
->
line 62
/mod/lti/return.php
->
line 64
/mod/book/edit.php
->
line 44
/grade/report/grader/index.php
->
line 47
/lib/adminlib.php
->
line 8799
/lib/adminlib.php
->
line 8801
/lib/adminlib.php
->
line 8803
/report/insights/action.php
->
line 56
/report/completion/user.php
->
line 55
/contentbank/view.php
->
line 78
/message/notificationpreferences.php
->
line 47
/rating/index.php
->
line 55
/grade/report/user/index.php
->
line 47
/blocks/blog_tags/tests/blog_tags_test.php
->
line 51
/admin/lock.php
->
line 52
/mod/chat/gui_header_js/chatinput.php
->
line 55
/mod/lesson/overrideedit.php
->
line 237