Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Deprecated List
Member action_menu::do_not_enhance ()
since Moodle 3.2
Member add_event ()
please use calendar_event::create() instead.
Member add_mod_to_section ()
since 2.4
Member add_to_log ($courseid, $module, $action, $url='', $info='', $cm=0, $user=0)
since 2.7 use new events instead
Class admin_page_defaultmessageoutputs

since Moodle 3.7 MDL-64495. Please use admin_page_managemessageoutputs instead.

Member admin_page_defaultmessageoutputs::__construct ()

since Moodle 3.7 MDL-64495. Please use admin_page_managemessageoutputs instead.

Member admin_setting_configselect::output_select_html ($data, $current, $default, $extraname='')
since Moodle 3.2
Class admin_setting_managelicenses

since Moodle 3.9 MDL-45184. Please use tool_licensemanager::manager instead.

Member admin_setting_managelicenses::__construct ()

since Moodle 3.9 MDL-45184. Please use tool_licensemanager::manager instead.

Member admin_setting_managelicenses::get_defaultsetting ()

since Moodle 3.9 MDL-45184.

Member admin_setting_managelicenses::get_setting ()

since Moodle 3.9 MDL-45184.

Member admin_setting_managelicenses::output_html ($data, $query='')

since Moodle 3.9 MDL-45184. Please use tool_licensemanager::manager instead.

Member admin_setting_managelicenses::write_setting ($data)

since Moodle 3.9 MDL-45184.

Member admin_setting_special_gradelimiting::admin_setting_special_gradelimiting ()
since Moodle 3.1
Member ajaxenabled ()
since 2.7 MDL-33099/MDL-44088 - please do not use this function any more.
Member allow_assign ()
since Moodle 3.4. MDL-50666
Member allow_override ()
since Moodle 3.4. MDL-50666
Member allow_switch ()
since Moodle 3.4. MDL-50666
Member antivirus_clamav\scanner::scan_data_execute_unixsocket ($data)
since Moodle 3.9 MDL-64075 - please do not use this function any more.
Member antivirus_clamav\scanner::scan_file_execute_unixsocket ($file)
since Moodle 3.9 MDL-64075 - please do not use this function any more.
Member assign::add_to_log ($action='', $info='', $url='', $return=false)
since 2.7 - Use new events system instead. (see http://docs.moodle.org/dev/Migrating_logging_calls_in_plugins).
Member assign::format_grade_for_log (stdClass $grade)
since 2.7
Member assign::format_submission_for_log (stdClass $submission)
since 2.7
Member assign_get_grade_details_for_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member assign_get_mysubmission_details_for_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member assign_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member assign_scale_used ()
since Moodle 3.8
Member auth_plugin_base::config_form ($config, $err, $user_fields)
since Moodle 3.3
Member auth_plugin_base::process_config ($config)
since Moodle 3.3
Member auth_plugin_base::validate_form ($form, &$err)
since Moodle 3.3
Member auth_plugin_cas::auth_plugin_cas ()
since Moodle 3.1
Member auth_plugin_db::clean_data ($user)
since 3.1, please use core_user::clean_data() instead.
Member auth_plugin_email::auth_plugin_email ()
since Moodle 3.1
Member auth_plugin_ldap::auth_plugin_ldap ()
since Moodle 3.1
Member auth_plugin_ldap::iscreator ($username)
since Moodle 3.4 MDL-30634 - please do not use this function any more.
Member auth_plugin_manual::auth_plugin_manual ()
since Moodle 3.1
Member auth_plugin_mnet::auth_plugin_mnet ()
since Moodle 3.1
Member auth_plugin_mnet::refresh_log ($array)
since Moodle 2.8 Please don't use this function for recording mnet logs.
Member auth_plugin_nologin::auth_plugin_nologin ()
since Moodle 3.1
Member auth_plugin_none::auth_plugin_none ()
since Moodle 3.1
Member auth_plugin_shibboleth::auth_plugin_shibboleth ()
since Moodle 3.1
Member auth_plugin_webservice::auth_plugin_webservice ()
since Moodle 3.1
Member badges_get_issued_badge_info ()
since Moodle 2.6
Member base_testcase::assertNotTag ($matcher, $actual, $message='', $ishtml=true)
3.0
Member base_testcase::assertTag ($matcher, $actual, $message='', $ishtml=true)
3.0
Member behat_config_manager::clean_path ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::get_behat_profile ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::get_behat_tests_path ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::get_components_steps_definitions ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::get_config_file_contents ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::get_features_with_tags ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::merge_behat_config ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::merge_config ()
since 3.2 - please use behat_config_util.php
Member behat_config_manager::profile_guided_allocate ()
since 3.2 - please use behat_config_util.php
Member behat_context_helper::set_session (Environment $environment)

since 3.2 MDL-55072 - please use behat_context_helper::set_environment()

Member behat_deprecated::i_dock_block ($blockname)

since Moodle 3.7 MDL-64506 - please do not use this definition step any more.

Member behat_deprecated::i_navigate_to_node_in ($nodetext, $parentnodes)

since Moodle 3.6 MDL-57281 - please do not use this definition step any more.

Member behat_field_manager::get_field (NodeElement $fieldnode, $locator, Session $session)

since Moodle 2.6 MDL-39634 - please do not use this function any more.

Member behat_field_manager::get_node_type (NodeElement $fieldnode, $locator, Session $session)

since Moodle 2.6 MDL-39634 - please do not use this function any more.

Member behat_session_interface::EXTENDED_TIMEOUT

since Moodle 3.7 MDL-64979 - please use get_extended_timeout() instead

Member behat_session_interface::REDUCED_TIMEOUT

since Moodle 3.7 MDL-64979 - please use get_reduced_timeout() instead

Member behat_session_interface::TIMEOUT

since Moodle 3.7 MDL-64979 - please use get_timeout() instead

Member behat_transformations::prefixed_tablenode_transformations ()
since Moodle 3.2
Member block_base::config_save ($data)
since Moodle 2.9 MDL-49385 - Please use Admin Settings functionality to save block configuration.
Member block_calendar_upcoming::get_upcoming_content ($events, $linkhref=null, $showcourselink=false)
since 3.4
Member block_tag_youtube::fetch_request ($request)
since Moodle 2.8.8, 2.9.2 and 3.0 MDL-49085 - please do not use this function any more.
Member block_tag_youtube::render_video_list (SimpleXMLElement $xml)
since Moodle 2.8.8, 2.9.2 and 3.0 MDL-49085 - please do not use this function any more.
Member blog_get_context_url ()
since Moodle 2.5 MDL-27814 - please do not use this function any more.
Member book_scale_used ()
since Moodle 3.8
Member booktool_print_get_toc ($chapters, $book, $cm)
since Moodle 3.7
Class boxclient
since 2.6, 2.5.3, 2.4.7
Member build_context_path ()
since 2.2
Member build_logs_array ()
since Moodle 3.2
Member build_navigation ()
Please use $PAGE->navabar methods instead.
Member cache::delete_from_persist_cache ()
since 2.6
Member cache::get_from_persist_cache ()
since 2.6
Member cache::is_in_persist_cache ()
since 2.6
Member cache::is_using_persist_cache ()
since 2.6
Member cache::set_in_persist_cache ()
since 2.6
Member cache_definition::get_persistent_max_size ()
since 2.6
Member cache_definition::should_be_persistent ()
since 2.6
Member cache_store::cleanup ()
since 2.5
Member cachestore_dummy::cleanup ()
since 3.2
Member calc_formula::calc_formula ($formula, $params=false)
since Moodle 3.1
Member calculate_user_dst_table ()
since Moodle 2.9
Member calendar_add_event_metadata ($event)
since 3.9
Member calendar_cron ()
since 3.3
Member CALENDAR_EVENT_GLOBAL
since 3.8
Member calendar_get_all_allowed_types ()
since 3.6
Member calendar_get_block_upcoming ()
since 3.3
Member calendar_get_mini ()
since Moodle 3.4. MDL-59333
Member calendar_get_upcoming ()
since Moodle 3.4. MDL-59333
Member calendar_information::prepare_for_view (stdClass $course, array $coursestoload, $ignorefilters=false)
3.4
Member calendar_normalize_tz ()
since Moodle 2.9
Member calendar_preferences_button ()
since Moodle 3.2
Member calendar_print_month_selector ()
since 3.3
Member calendar_wday_name ()
since 3.3
Member can_use_html_editor ()
since 2.6
Member can_use_rotated_text ()
since 2.5 - do not use, the textrotate.js will work it out automatically
Member category_delete_full ()
since 2.5
Member category_delete_move ()
since 2.5
File ccdependencyparser.php
Member chat_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member check_browser_operating_system ()
since 2.6
Member check_browser_version ()
since 2.6
Member check_gd_version ()
Member choice_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member choose_from_menu ()
since Moodle 2.0
Member clam_change_log ()
since 2.7 - use new file picker instead
Member clam_handle_infected_file ()
since 2.7
Member clam_log_infected ()
since 2.7 - use new file picker instead
Member clam_log_upload ()
since 2.7 - use new file picker instead
Member clam_message_admins ()
since Moodle 3.0 - this is a part of clamav plugin now.
Member clam_replace_infected_file ()
since 2.7 - infected files are now deleted in file picker
Member clam_scan_moodle_file ()
since 2.7
Member cleanup_contexts ()
since 2.2
Member cm_info::is_user_access_restricted_by_conditional_access ()
since 2.7 MDL-44070
Member cm_info::is_user_access_restricted_by_group ()
Since Moodle 2.8
Member cohort_get_visible_list ()
since Moodle 2.8 MDL-36014 use cohort_get_available_cohorts() instead
Member comment::get_compontent ()
since 2.9
Member completion_cron ()
since Moodle 3.0 MDL-50287 - please do not use this function any more.
Member completion_info::get_incomplete_criteria ()
since Moodle 2.8 MDL-46290.
Member completion_info::print_help_icon ()
since Moodle 2.0 - Use display_help_icon instead.
Member component_installer::component_installer ($sourcebase, $zippath, $zipfilename, $md5filename='', $destpath='')
since Moodle 3.1
File conditionlib.php
Since Moodle 2.7
File content_viewed.php
since Moodle 2.7
Member context_instance_preload ()
since 2.2
Member context_instance_preload_sql ()
since 2.2
Member context_moved ()
since Moodle 2.2
Member convert_tabrows_to_tree ()
since 2.5
Member convert_tree_to_html ()
since 2.5
Member core\event\base::can_view ($user_or_id=null)
since 2.7
Class core\event\course_module_instances_list_viewed

Since Moodle 2.7

Member core\hub\api::add_screenshot ($hubcourseid, stored_file $file, $screenshotnumber)
since Moodle 3.8. Moodle.net has been sunsetted making this function useless.
Member core\hub\api::download_course_backup ($hubcourseid, $path)
since Moodle 3.8. Moodle.net has been sunsetted making this function useless.
Member core\hub\api::get_courses ($search, $downloadable, $enrollable, $options)
since Moodle 3.8. Moodle.net has been sunsetted making this function useless.
Member core\hub\api::register_course ($courseinfo)
since Moodle 3.8. Moodle.net has been sunsetted making this function useless.
Member core\hub\api::unregister_courses ($courseids)
since Moodle 3.8. Moodle.net has been sunsetted making this function useless.
Member core\hub\api::upload_course_backup ($hubcourseid, stored_file $backupfile)
since Moodle 3.8. Moodle.net has been sunsetted making this function useless.
Class core\task\legacy_plugin_cron_task

since Moodle 3.9 MDL-52846. Please use new task API.

Member core_analytics\local\analyser\base::get_analysables ()
Member core_analytics\manager::add_builtin_models ()

Deprecated since Moodle 3.7 (MDL-61667) - Use lib/db/analytics.php instead.

Member core_analytics\manager::get_enabled_time_splitting_methods ()

since Moodle 3.7

Member core_calendar\external\calendar_event_exporter::get_module_timestamp_max_limit (\DateTimeInterface $starttime, $max)

since Moodle 3.6. Please use get_timestamp_max_limit().

Member core_calendar\external\calendar_event_exporter::get_module_timestamp_min_limit (\DateTimeInterface $starttime, $min)

since Moodle 3.6. Please use get_timestamp_min_limit().

Member core_calendar_renderer::event (calendar_event $event, $showactions=true)
since 3.9
Class core_competency\invalid_persistent_exception
since Moodle 3.3
Member core_course\external\course_summary_exporter::coursecolor ($courseid)
3.7
Member core_course\external\course_summary_exporter::get_course_pattern ($course)
3.7
Member core_course_category::count_all ()
since Moodle 3.7
Member core_course_renderer::add_modchoosertoggle ()
since 3.2
Member core_course_renderer::course_category_tree (array $ignored)
since 2.5
Member core_course_renderer::course_category_tree_category (stdClass $category, $depth=1)
since 2.5
Member core_enrol_external::edit_user_enrolment ($courseid, $ueid, $status, $timestart=0, $timeend=0)
since 3.8
Member core_enrol_external::edit_user_enrolment_parameters ()
since 3.8
Member core_enrol_external::edit_user_enrolment_returns ()
since 3.8
Member core_grades_external::get_grades ($courseid, $component=null, $activityid=null, $userids=array())
Moodle 3.2 MDL-51373 - Please do not call this function any more.
Member core_grades_external::get_grades_parameters ()
Moodle 3.2 MDL-51373 - Please do not call this function any more.
Member core_grades_external::get_grades_returns ()
Moodle 3.2 MDL-51373 - Please do not call this function any more.
Member core_grading\privacy\gradingform_provider::delete_gradingform_for_context (\context $context)

since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface

Member core_grading\privacy\gradingform_provider::delete_gradingform_for_userid (int $userid, context $context)

since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface

Member core_grading\privacy\gradingform_provider::get_gradingform_export_data (\context $context, $definition, int $userid)

since Moodle 3.6 MDL-62535 Please use the methods in the gradingform_provider_v2 interface

Member core_media_manager::setup ()
since Moodle 3.3. The setup is now done in ::instance() so there is no need to call this.
Member core_media_player::compare_by_rank ()
since Moodle 3.2
Member core_media_player::is_enabled ()
since Moodle 3.2
Member core_message\api::can_post_message ($recipient, $sender=null)

since 3.8

Member core_message\api::create_conversation_between_users (array $userids)
since 3.6
Member core_message\api::delete_conversation ($userid, $otheruserid)
since 3.6
Member core_message\api::get_individual_conversations_between_users (array $useridsets)
since 3.8
Member core_message\api::is_user_blocked ($recipientid, $senderid=null)
since 3.6
Member core_message\api::is_user_non_contact_blocked ($recipient, $sender=null)
since 3.6
Member core_message\api::mark_all_read_for_user ()
since 3.5
Member core_message_external::block_contacts ($userids, $userid=0)
since Moodle 3.6
Member core_message_external::block_contacts_parameters ()
since Moodle 3.6
Member core_message_external::block_contacts_returns ()
since Moodle 3.6
Member core_message_external::create_contacts ($userids, $userid=0)
since Moodle 3.6
Member core_message_external::create_contacts_parameters ()
since Moodle 3.6
Member core_message_external::create_contacts_returns ()
since Moodle 3.6
Member core_message_external::data_for_messagearea_contacts ($userid, $limitfrom=0, $limitnum=0)
since 3.6
Member core_message_external::data_for_messagearea_contacts_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_contacts_returns ()
since 3.6
Member core_message_external::data_for_messagearea_conversations ($userid, $limitfrom=0, $limitnum=0)
since 3.6
Member core_message_external::data_for_messagearea_conversations_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_conversations_returns ()
since 3.6
Member core_message_external::data_for_messagearea_get_most_recent_message ($currentuserid, $otheruserid)
since 3.6
Member core_message_external::data_for_messagearea_get_most_recent_message_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_get_most_recent_message_returns ()
since 3.6
Member core_message_external::data_for_messagearea_get_profile ($currentuserid, $otheruserid)
since 3.6
Member core_message_external::data_for_messagearea_get_profile_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_get_profile_returns ()
since 3.6
Member core_message_external::data_for_messagearea_messages ($currentuserid, $otheruserid, $limitfrom=0, $limitnum=0, $newest=false, $timefrom=0)
since 3.6
Member core_message_external::data_for_messagearea_messages_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_messages_returns ()
since 3.6
Member core_message_external::data_for_messagearea_search_users ($userid, $search, $limitnum=0)
since 3.6
Member core_message_external::data_for_messagearea_search_users_in_course ($userid, $courseid, $search, $limitfrom=0, $limitnum=0)
since 3.6
Member core_message_external::data_for_messagearea_search_users_in_course_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_search_users_in_course_returns ()
since 3.6
Member core_message_external::data_for_messagearea_search_users_parameters ()
since 3.6
Member core_message_external::data_for_messagearea_search_users_returns ()
since 3.6
Member core_message_external::delete_conversation ($userid, $otheruserid)
since 3.6
Member core_message_external::delete_conversation_parameters ()
since 3.6
Member core_message_external::delete_conversation_returns ()
since 3.6
Member core_message_external::get_contacts ()
since 3.6
Member core_message_external::get_contacts_parameters ()
since 3.6
Member core_message_external::get_contacts_returns ()
since 3.6
Member core_message_external::mark_all_messages_as_read ($useridto, $useridfrom)
since 3.6
Member core_message_external::mark_all_messages_as_read_parameters ()
since 3.6
Member core_message_external::mark_all_messages_as_read_returns ()
since 3.6
Member core_message_external::unblock_contacts_parameters ()
since Moodle 3.6
Member core_message_external::unblock_contacts_returns ()
since Moodle 3.6
Member core_question\bank\view::build_query_sql ($category, $recurse, $showhidden)
since Moodle 2.7 MDL-40313.
Member core_question\bank\view::display_category_form ($contexts, $pageurl, $current)
since Moodle 2.7 MDL-40313.
Member core_question\bank\view::display_category_form_checkbox ($name, $value, $label)
since Moodle 2.7 MDL-40313.
Member core_question\bank\view::display_options ($recurse, $showhidden, $showquestiontext)
since Moodle 2.7 MDL-40313.
Member core_question\bank\view::print_category_info ($category)
since Moodle 2.7 MDL-40313.
Member core_renderer::MAIN_CONTENT_TOKEN
used in core_renderer::header().
Member core_renderer::notify_message ()
since Moodle 3.1 MDL-30811 - please do not use this function any more.
Member core_renderer::notify_problem ()
since Moodle 3.1 MDL-30811 - please do not use this function any more.
Member core_renderer::notify_redirect ()
since Moodle 3.1 MDL-30811 - please do not use this function any more.
Member core_renderer::notify_success ()
since Moodle 3.1 MDL-30811 - please do not use this function any more.
Member core_renderer::old_help_icon ($helpidentifier, $title, $component='moodle', $linktext='')
since Moodle 2.0
Member core_renderer::update_module_button ()
since Moodle 3.2
Class core_user\output\unified_filter
since Moodle 3.9 MDL-68612 - Please use core_user::table::participants_search::class and table filtersets instead.
Member core_user_renderer::unified_filter ($course, $context, $filtersapplied, $baseurl=null)
since Moodle 3.9 MDL-68612 - Please use participants_filter() instead.
Member count_login_failures ()
since Moodle 2.7, use user_count_login_failures() instead.
Member course_category_hide ()
since 2.5
Member course_category_show ()
since 2.5
Member course_get_cm_rename_action ()
since 3.1
Member COURSE_MAX_SUMMARIES_PER_PAGE
since 2.4, use $CFG->courseswithsummarieslimit instead.
Member course_modinfo::build_section_cache ($courseid)
since 2.6
Member course_scale_used ()
since Moodle 3.1
Member coursemodule_visible_for_user ()
Since Moodle 2.7 MDL-44070
Member coursetag_delete_course_tags ()
since 3.0
Member coursetag_delete_keyword ()
since 3.0
Member coursetag_get_all_tags ()
since 3.0
Member coursetag_get_jscript ()
since 3.0
Member coursetag_get_jscript_links ()
since 3.0
Member coursetag_get_records ()
since 3.0
Member coursetag_get_tagged_courses ()
since 3.0
Member coursetag_get_tags ()
since 3.0
Member coursetag_store_keywords ()
since 3.0
Member create_contexts ()
since 2.2
Member create_course_category ()
since 2.5
Member cron_bc_hack_plugin_functions ($plugintype, $plugins)

since Moodle 3.9 MDL-52846. Please use new task API.

Member cron_execute_plugin_type ($plugintype, $description=null)

since Moodle 3.9 MDL-52846. Please use new task API.

Member cron_run_single_task (\core\task\scheduled_task $task)

since Moodle 3.9 MDL-63580. Please use the core::task::manager::run_from_cli($task).

Member css_is_colour ()
since Moodle 3.2
Member css_is_width ()
since Moodle 3.2
Member css_minify_css ()
since 2.6
Member css_sort_by_count ()
since Moodle 3.2
File cssparser.php
since Moodle 3.1
Member current_theme ()
use $PAGE->theme->name instead.
Member database_manager::change_field_unsigned (xmldb_table $xmldb_table, xmldb_field $xmldb_field)
since 2.3, only singed numbers are allowed now, migration is automatic
Member database_manager::drop_temp_table (xmldb_table $xmldb_table)
since 2.3, use drop_table() for all table types
Member dedupe_user_access ()
since Moodle 3.4 and removed immediately. MDL-49398.
Member delete_context ()
since Moodle 2.2
Member delete_course_module ()
since 2.5
Member delete_event ()
please use calendar_event->delete() instead.
File deprecatedlib.php
Member detect_munged_arguments ()
use clean_param($string, PARAM_FILE) instead.
Member download_as_dataformat ($filename, $dataformat, $columns, $iterator, $callback=null)
since Moodle 3.9 - MDL-68500 please use core::dataformat::download_data
Member dst_changes_for_year ()
since Moodle 2.9
Member enrol_cohort_can_view_cohort ()
since Moodle 2.8 MDL-36014 please use cohort_can_view_cohort()
Member enrol_cohort_enrol_all_users ()
since Moodle 2.8 MDL-35618 this functionality is removed
Member enrol_cohort_get_cohorts ()
since Moodle 2.8 MDL-36014, MDL-35618 this functionality is removed
Member enrol_cohort_search_cohorts ()
since Moodle 2.8 MDL-35618 this functionality is removed
Member enrol_plugin::instance_deleteable ($instance)
since Moodle 2.8 MDL-35864 - please use can_delete_instance() instead.
Member ENROL_REQUIRE_LOGIN_CACHE_PERIOD
- enrol caching was reworked, use ENROL_MAX_TIMESTAMP instead
Member ENROL_RESTORE_TYPE
since 2.4 not used any more, migrate plugin to new restore methods
Member environment_results::environment_results ($part)
since Moodle 3.1
Member error ()
since 2.0
Member events_cleanup ($component, $cachedhandlers)

since Moodle 3.6. Please use the Events 2 API.

Member events_cron ()
since Moodle 3.1
Member events_dequeue ($qhandler)

since Moodle 3.6. Please use the Events 2 API.

Member events_dispatch ()
since Moodle 3.1
Member events_get_cached ($component)

since Moodle 3.6. Please use the Events 2 API.

Member events_get_handlers ($eventname)

since Moodle 3.6. Please use the Events 2 API.

Member events_is_registered ()
since Moodle 3.1
Member events_load_def ()
since Moodle 3.1
Member events_pending_count ()
since Moodle 3.1
Member events_process_queued_handler ()
since Moodle 3.1
Member events_queue_handler ()
since Moodle 3.1
Member events_trigger ()
since 2.6
Member events_trigger_legacy ()
since Moodle 3.1
Member events_update_definition ()
since Moodle 3.1
File export_form.php
since Moodle 3.1
Member external_function_info ()
since Moodle 3.1. Use external_api::external_function_info().
Member FEATURE_GROUPMEMBERSONLY
Since Moodle 2.8
Member feedback_check_values ()
since Moodle 3.1
Member feedback_clean_input_value ()
since Moodle 3.1
Member feedback_clean_up_sitecourse_map ()
since 3.1
Member feedback_create_item ()
since 3.1
Member feedback_create_values ()
since Moodle 3.1
Member feedback_delete_completedtmp ()
since Moodle 3.1
Member feedback_get_context ()
since 3.1
Member feedback_get_current_completed ()
since Moodle 3.1. Use feedback_get_current_completed_tmp() or feedback_get_last_completed.
Member feedback_get_page_to_continue ()
since Moodle 3.1
Member feedback_is_course_in_sitecourse_map ()
since 3.1
Member feedback_is_feedback_in_sitecourse_map ()
since 3.1
Member feedback_print_item_complete ()
since Moodle 3.1
Member feedback_print_item_preview ()
since Moodle 3.1
Member feedback_print_item_show_value ()
since Moodle 3.1
Member feedback_print_numeric_option_list ()
since 3.1
Member feedback_save_guest_values ()
since Moodle 3.1
Member feedback_save_values ()
since Moodle 3.1
Member feedback_scale_used ()
since Moodle 3.8
Member feedback_update_values ()
since Moodle 3.1
Member fetch_context_capabilities ()
since 2.2
Member file_encode_url ($urlbase, $path, $forcedownload=false, $https=false)
use moodle_url factory methods instead
Member file_storage::content_exists ($contenthash)
since 3.3
Member file_storage::try_content_recovery ($file)
since 3.3
Member filter_manager::text_filtering_hash ()
Since Moodle 3.0 MDL-50491. This was used by the old text filtering system, but no more.
Member filter_text ()
use the text formatting in a standard way instead (http://docs.moodle.org/dev/Output_functions) this was abused mostly for embedding of attachments
Member flexible_table::print_html ()
1.9.2 - Jun 2, 2008
Member flexible_table::print_one_initials_bar ($alpha, $current, $class, $title, $urlvar)
since Moodle 3.3
Member format_section_renderer_base::section_edit_controls ()
since Moodle 3.0 MDL-48947 - Use format_section_renderer_base::section_edit_control_items() instead
Member format_weeks_get_section_dates ()
since 2.4
Member FORMAT_WIKI
since 2005!
Member formerr ()
Member forum_convert_to_roles ()
since Moodle 2.0 MDL-23479 - please do not use this function any more.
Member forum_count_replies ($post, $children=true)

since Moodle 3.7

Member forum_count_unrated_posts ()
since Moodle 1.1 - please do not use this function any more.
Member forum_cron ()
since Moodle 3.7
Member forum_cron_minimise_user_record (stdClass $user)
since Moodle 3.7
Member forum_filter_user_groups_discussions ()
since Moodle 3.3, when the block_course_overview block was removed.
Member forum_forcesubscribe ($forumid, $value=1)
since Moodle 2.8 use mod_forum::subscriptions::set_subscription_mode() instead
Member forum_get_child_posts ()
since Moodle 1.9 MDL-13303 - please do not use this function any more.
Member forum_get_discussion_posts ()
since Moodle 1.9 MDL-13303 - please do not use this function any more.
Member forum_get_forcesubscribed ($forum)
since Moodle 2.8 use mod_forum::subscriptions::get_subscription_mode() instead
Member forum_get_open_modes ()
since Moodle 1.7 - please do not use this function any more.
Member forum_get_optional_subscribed_forums ()
since Moodle 2.8 use mod_forum::subscriptions::get_unsubscribable_forums() instead
Member forum_get_potential_subscribers ()
since Moodle 2.8 use mod_forum::subscriptions::get_potential_subscribers() instead
Member forum_get_ratings ()
since Moodle 2.0 MDL-21657 - please do not use this function any more.
Member forum_get_subscribed_forums ()
since Moodle 2.8 use mod_forum::subscriptions::is_subscribed in combination wtih mod_forum::subscriptions::fill_subscription_cache_for_course instead.
Member forum_get_tracking_link ()
since Moodle 2.0 MDL-14632 - please do not use this function any more.
Member forum_get_user_discussions ()
since Moodle 1.5 - please do not use this function any more.
Member forum_get_user_grades ($forum, $userid=0)
since Moodle 3.8
Member forum_is_forcesubscribed ($forum)
since Moodle 2.8 use mod_forum::subscriptions::is_forcesubscribed() instead
Member forum_is_subscribed ()
since Moodle 2.8 use mod_forum::subscriptions::is_subscribed() instead
Member forum_make_mail_html ($course, $cm, $forum, $discussion, $post, $userfrom, $userto, $replyaddress=null)
since Moodle 3.0 use mod_forum::output::forum_post_email instead
Member forum_make_mail_post ($course, $cm, $forum, $discussion, $post, $userfrom, $userto, $ownpost=false, $reply=false, $link=false, $rate=false, $footer="")
since Moodle 3.0 use mod_forum::output::forum_post_email instead
Member forum_make_mail_text ($course, $cm, $forum, $discussion, $post, $userfrom, $userto, $bare=false, $replyaddress=null)
since Moodle 3.0 use mod_forum::output::forum_post_email instead
Member forum_post_nesting_cache ()
since Moodle 3.7
Member forum_print_discussion ($course, $cm, $forum, $discussion, $post, $mode, $canreply=NULL, $canrate=false)
since Moodle 3.7
Member forum_print_latest_discussions ($course, $forum, $maxdiscussions=-1, $displayformat='plain', $sort='', $currentgroup=-1, $groupmode=-1, $page=-1, $perpage=100, $cm=null)
since Moodle 3.7
Member forum_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member forum_print_post ($post, $discussion, $forum, &$cm, $course, $ownpost=false, $reply=false, $link=false, $footer="", $highlight="", $postisread=null, $dummyifcantsee=true, $istracked=null, $return=false)
since Moodle 3.7
Member forum_print_post_end ($post, $return=false)
since Moodle 3.7
Member forum_print_post_start ($post, $return=false)
since Moodle 3.7
Member forum_print_posts_flat ($course, &$cm, $forum, $discussion, $post, $mode, $reply, $forumtracked, $posts)
since Moodle 3.7
Member forum_print_posts_nested ($course, &$cm, $forum, $discussion, $parent, $reply, $forumtracked, $posts)
since Moodle 3.7
Member forum_print_posts_threaded ($course, &$cm, $forum, $discussion, $parent, $depth, $reply, $forumtracked, $posts)
since Moodle 3.7
Member forum_scale_used ()
since Moodle 3.8
Member forum_shorten_post ($message)
since Moodle 2.6
Member forum_should_end_post_nesting ($id)
since Moodle 3.7
Member forum_should_start_post_nesting ($id)
since Moodle 3.7
Member forum_subscribe ()
since Moodle 2.8 use mod_forum::subscriptions::subscribe_user() instead
Member forum_subscribed_users ()
since Moodle 2.8 use mod_forum::subscriptions::fetch_subscribed_users() instead
Member forum_tp_count_discussion_read_records ()
since Moodle 1.5 - please do not use this function any more.
Member forum_tp_count_discussion_unread_posts ()
since Moodle 2.0 MDL-14113 - please do not use this function any more.
Member forum_tp_count_forum_posts ()
since Moodle 1.6 - please do not use this function any more.
Member forum_tp_count_forum_read_records ()
since Moodle 1.6 - please do not use this function any more.
Member forum_tp_get_discussion_read_records ()
since Moodle 2.0 MDL-14113 - please do not use this function any more.
Member forum_tp_get_read_records ()
since Moodle 2.0 MDL-14113 - please do not use this function any more.
Member FORUM_TRACKING_ON
since 2.6
Member forum_unsubscribe ()
since Moodle 2.8 use mod_forum::subscriptions::unsubscribe_user() instead
Member forum_user_can_view_post ()
since Moodle 2.4 use forum_user_can_see_post() instead
Member forum_user_enrolled ()
since Moodle 2.3 MDL-33166 - please do not use this function any more.
Member generate_email_supportuser ()
since Moodle 2.6
Member generate_uuid ()
since Moodle 3.8 MDL-61038 - please do not use this function any more.
Member get_all_mods ()
since 2.4
Member get_all_sections ()
since 2.4
Member get_all_subcategories ()
since 2.5. Please use core_course_category::get() and core_course_category::get_children()
Member get_browser_version_classes ()
since 2.6
Member get_categories ()
since 2.5
Member get_category_courses_array ()
since 2.5
Member get_category_courses_array_recursively ()
since 2.5
Member get_child_categories ()
since 2.5. Please use core_course_category::get($parentid)->get_children().
Member get_child_contexts ()
since 2.2
Member get_clam_error_code ()
since Moodle 3.0 - this is a part of clamav plugin now.
Member get_component_directory ($component)
since 2.6, use core_component::normalize_component()
Member get_context_instance ($contextlevel, $instance=0, $strictness=IGNORE_MISSING)

since 2.2, use context_course::instance() or other relevant class instead

Member get_context_instance_by_id ()
since Moodle 2.2 MDL-35009 - please do not use this function any more.
Member get_context_url ()
since 2.2
Member get_contextlevel_name ()
since 2.2
Member get_core_subsystems ($fullpaths=false)
since 2.6, use core_component::get_core_subsystems()
Member get_course_category ()
since 2.5. Please use core_course_category::get($catid, IGNORE_MISSING) or core_course_category::get($catid, MUST_EXIST).
Member get_course_category_tree ()
since 2.5
Member get_course_context ()
since 2.2
Member get_course_participants ()
use get_enrolled_users($context) instead.
Member get_course_section ()
since 2.4
Member get_courseid_from_context ()
since 2.2
Member get_courses_page ($categoryid="all", $sort="c.sortorder ASC", $fields="c.*", &$totalcount, $limitfrom="", $limitnum="")

since Moodle 3.7

Member get_courses_wmanagers ()
since 2.5
Member get_current_group ()
Since year 2006 - please do not use this function any more.
Member get_device_cfg_var_name ()
since 2.6
Member get_device_type ()
since 2.6
Member get_device_type_list ()
since 2.6
Member get_file_url ()
since 3.1 - replacement legacy file API methods can be found on the moodle_url class, for example: The moodle_url::make_legacyfile_url() method can be used to generate a legacy course file url. To generate course module file.php url the moodle_url::make_file_url() should be used.
Member get_generic_section_name ()
since 2.4
Member get_list_of_timezones ()
since Moodle 2.9
Member get_logs ()
since Moodle 3.2
Member get_logs_usercourse ()
since Moodle 3.2
Member get_logs_userday ()
since Moodle 3.2
Member get_module_metadata ($course, $modnames, $sectionreturn=null)
since 3.9.
Member get_parent_contextid ()
since Moodle 2.2
Member get_parent_contexts ()
since 2.2, use $context->get_parent_context_ids() instead
Member get_plugin_directory ($plugintype, $pluginname)
since 2.6, use core_component::get_plugin_directory()
Member get_plugin_list ($plugintype)
since 2.6, use core_component::get_plugin_list()
Member get_plugin_list_with_class ($plugintype, $class, $file=null)
since 2.6, use core_component::get_plugin_list_with_class()
Member get_plugin_list_with_file ()
since 2.6
Member get_plugin_types ($fullpaths=true)
since 2.6, use core_component::get_plugin_types()
Member get_print_section_cm_text ()
since 2.5
Member get_recent_enrolments ()
Member get_records_csv ()
since Moodle 3.2
Member get_referer ()
since Moodle 3.0 MDL-49360 - please do not use this function any more.
Member get_related_contexts_string ()
since 2.2
Member get_role_context_caps ()
since Moodle 2.2
Member get_roles_on_exact_context (context $context)

since Moodle 3.6. Please use the get_roles_used_in_context().

Member get_roles_with_assignment_on_context (context $context)

since Moodle 3.6. Please use the get_roles_used_in_context().

Member get_selected_theme_for_device_type ()
since 2.6
Member get_system_context ($cache=true)
since 2.2
Member get_timezone_offset ()
since Moodle 2.9
Member get_timezone_record ()
since Moodle 2.9
Member get_user_access_sitewide ()
since Moodle 3.4. MDL-49398.
Member get_user_courses_bycap ()
since 2.2
Member get_user_device_type ()
since 2.6
Member get_user_timezone_offset ()
since Moodle 2.9
Member glossary_scale_used ()
since Moodle 3.8
Member grade_category::aggregate_values ($grade_values, $items)
since Moodle 2.8
Member grade_export::$previewrows
since Moodle 2.8 Number of rows in preview.
Member grade_export::deprecated_constructor ($course, $groupid=0, $itemlist='', $export_feedback=false, $updatedgradesonly=false, $displaytype=GRADE_DISPLAY_TYPE_REAL, $decimalpoints=2, $onlyactive=false, $usercustomfields=false)
since 2.8 MDL-46548. Instead call the shortened constructor which accepts the data directly from the grade_export_form.
Member grade_export::display_preview ($require_user_idnumber=false)
since 2.8 MDL-46548. Previews are not useful on export.
Member grade_export::print_continue ()
since 2.8 MDL-46548. Call get_export_url and set the action of the grade_export_form instead.
Member grade_export_update_buffer::grade_export_update_buffer ()
since Moodle 3.1
Member grade_plugin_return::grade_plugin_return ($params=null)
since Moodle 3.1
Member grade_report::blank_hidden_total ($courseid, $course_item, $finalgrade)
since Moodle 2.8 - Call blank_hidden_total_and_adjust_bounds instead.
Member grade_report_grader::get_collapsing_icon ($element)
since Moodle 2.9 MDL-46662 - please do not use this function any more.
Member grade_report_grader::get_toggles_html ()
since Moodle 2.4 as it appears not to be used any more.
Member grade_report_grader::print_toggle ($type)
since 2.4 as it appears not to be used any more.
Member grade_seq::grade_seq ($courseid, $category_grade_last=false, $nooutcomes=false)
since Moodle 3.1
Member grade_tree::grade_tree ($courseid, $fillers=true, $category_grade_last=false, $collapsed=null, $nooutcomes=false)
since Moodle 3.1
File gradingform_provider.php

since Moodle 3.6 MDL-62535 Please use the gradingform_provider_v2 interface

Member groupmode ()
since Moodle 2.0 MDL-14617 - please do not use this function any more.
Member groups_course_module_visible ()
Since Moodle 2.8
Member groups_filter_users_by_course_module_visible ()
Since Moodle 2.8
Member hide_event ()
please use calendar_event->toggle_visibility(false) instead.
File highscore_added.php
since Moodle 3.0
File highscores_viewed.php
since Moodle 3.0
Member html_table::$cellpadding
since Moodle 2.0. Styling should be in the CSS. Padding on each cell, in pixels
Member html_table::$cellspacing
since Moodle 2.0. Styling should be in the CSS.
Member html_table::$summary
since Moodle 3.9.
Member html_table::$tablealign
since Moodle 2.0. Styling should be in the CSS. Alignment for the whole table. Can be 'right', 'left' or 'center' (default).
Member html_table::$width
since Moodle 2.0. Styling should be in the CSS. Width of the table, percentage of the page preferred.
File htmleditor.php
since 3.6
Member httpsrequired ()
Loginhttps is no longer supported
Member is_course_participant ()
use is_enrolled($context, $userid) instead.
Member is_web_crawler ()
since Moodle 3.0 use core_useragent::is_web_crawler instead.
Member js_minify ()
since 2.6
Member latex::latex ()
since Moodle 3.1
Member lesson_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member Lexer::Lexer (&$parser, $start="accept", $case=false)
since Moodle 3.1
Member license_manager::add ($license)

Since Moodle 3.9, MDL-45184.

Member load_course_context ()
since Moodle 3.4 and removed immediately. MDL-49398.
Member load_role_access_by_context ()
since Moodle 3.4 and removed immediately. MDL-49398.
Member logstore_legacy\log\store::__construct (\tool_log\log\manager $manager)

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::dispose ()

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::get_events_select ($selectwhere, array $params, $sort, $limitfrom, $limitnum)

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::get_events_select_count ($selectwhere, array $params)

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::get_events_select_iterator ($selectwhere, array $params, $sort, $limitfrom, $limitnum)

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::get_log_event ($data)

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::is_logging ()

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member logstore_legacy\log\store::legacy_add_to_log ($courseid, $module, $action, $url, $info, $cm, $user, $ip=null, $time=null)

since Moodle 3.1 MDL-45104 - Please use supported log stores such as "standard" or "external" instead.

Member lti_build_standard_request ($instance, $orgid, $islti2, $messagetype='basic-lti-launch-request')
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member lti_get_shortcuts ($defaultitem)

since 3.9

Member lti_scale_used ()
since Moodle 3.8
Member ltiservice_gradebookservices\local\service\gradebookservices::save_score ($gradeitem, $score, $userid)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member ltiservice_memberships\local\service\memberships::get_users_json ($resource, $context, $contextid, $tool, $role, $limitfrom, $limitnum, $lti, $info)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member make_categories_list ()
since 2.5
Member make_editing_buttons ()
since 2.5. Please use: $courserenderer = $PAGE->get_renderer('core', 'course'); $actions = course_get_cm_edit_actions($mod, $indent, $section); return ' ' . $courserenderer->course_section_cm_edit_actions($actions);
Member mark_context_dirty ()
since 2.2, use $context->mark_dirty() instead
Member message_add_contact ($contactid, $blocked=0, $userid=0)
since Moodle 3.6
Member message_block_contact ($contactid, $userid=0)
since Moodle 3.6
Member message_can_delete_message ()
since Moodle 3.5
Member message_can_post_message ()
since Moodle 3.2
Member message_contact_link ()
since Moodle 3.2
Member message_count_blocked_users ()
since Moodle 3.2
Member message_count_messages ()
since Moodle 3.2
Member message_current_user_is_involved ()
since Moodle 2.9 MDL-49371 - please do not use this function any more.
Member message_delete_message ()
since Moodle 3.5
Member message_get_blocked_users ()
since Moodle 3.5
Member message_get_contact ($contactid)
since Moodle 3.6
Member message_get_contact_add_remove_link ()
since Moodle 3.2
Member message_get_contact_block_link ()
since Moodle 3.2
Member message_get_contacts ()
since Moodle 3.5
Member message_get_course_contexts ()
since Moodle 3.2
Member message_get_fragment ()
since Moodle 3.2
Member message_get_history ()
since Moodle 3.2
Member message_get_recent_conversations ($userorid, $limitfrom=0, $limitto=100)
since Moodle 3.3 MDL-57370
Member message_get_recent_notifications ()
since Moodle 3.2
Member message_history_link ()
since Moodle 3.2
Member message_is_user_blocked ()
since Moodle 3.2
Member message_is_user_non_contact_blocked ()
since Moodle 3.2
Member message_mark_message_read ()
since Moodle 3.5
Member message_mark_messages_read ()
since Moodle 3.2
Member message_move_userfrom_unread2read ()
since Moodle 3.5
Member message_page_type_list ()
since Moodle 3.2
Member message_remove_contact ($contactid, $userid=0)
since Moodle 3.6
Member message_remove_url_params ()
since Moodle 3.2
Member message_search ()
since Moodle 3.2
Member message_shorten_message ()
since Moodle 3.2
Member message_unblock_contact ($contactid, $userid=0)
since Moodle 3.6
Member mnet_encxml_parser ()
since Moodle 3.1
Member mnet_xmlrpc_client::mnet_xmlrpc_client ()
since Moodle 3.1
Member mod_choice_renderer::display_publish_anonymous_horizontal ($choices)
since 3.2
Member mod_choice_renderer::display_publish_anonymous_vertical ($choices)
since 3.2
Member mod_feedback\event\course_module_viewed::can_view ($userorid=null)
since 2.7
Member mod_feedback\event\response_deleted::can_view ($userorid=null)
since 2.7
Member mod_feedback\event\response_submitted::can_view ($userorid=null)
since 2.7
Member mod_forum_external::get_forum_discussions_paginated ($forumid, $sortby='timemodified', $sortdirection='DESC', $page=-1, $perpage=0)
since 3.7
Member mod_forum_external::get_forum_discussions_paginated_parameters ()
since 3.7
Member mod_forum_external::get_forum_discussions_paginated_returns ()
since 3.7
Member mod_lesson_mod_form::mod_lesson_mod_form ($current, $section, $cm, $course)
since Moodle 3.1
Member mod_lti\local\ltiservice\resource_base::check_tool_proxy ($toolproxyguid, $body=null)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member mod_lti\local\ltiservice\resource_base::check_type ($typeid, $contextid, $permissionrequested, $body=null)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member mod_lti\local\ltiservice\resource_base::get_permissions ($ltitype)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member mod_lti\local\ltiservice\service_base::check_tool_proxy ($toolproxyguid, $body=null)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member mod_lti\local\ltiservice\service_base::check_type ($typeid, $courseid, $body=null)
since Moodle 3.7 MDL-62599 - please do not use this function any more.
Member mod_lti\local\ltiservice\service_base::get_configuration_parameter_names ()
since Moodle 3.7 - please do not use this function any more.
Member mod_quiz\question\bank\custom_view::print_choose_category_message ($categoryandcontext)
since Moodle 2.6 MDL-40313.
Member moodle_database::get_configuration_hints ()
since 2.6
Member moodle_database::set_logging ($state)
since Moodle 2.9
Member moodle_database::sql_cast_2signed ($fieldname)
since 2.3
Member moodle_database::sql_empty ()
use bound parameter with empty string instead
Member moodle_page::https_required ()
since Moodle 3.4
Member moodle_page::verify_https_required ()
since Moodle 3.4
Member moodle_text_filter::hash ()
Since Moodle 3.0 MDL-50491. This was used by the old text filtering system, but no more.
Member MoodleExcelFormat::set_pattern ($pattern=1)
use set_bg_color() instead.
Member moodleform::_get_post_params ()
since 2.6
Member moodleform::init_javascript_enhancement ($element, $enhancement, array $options=array(), array $strings=null)
since Moodle 3.3 MDL-57471
Member moodleform::moodleform ($action=null, $customdata=null, $method='post', $target='', $attributes=null, $editable=true)
since Moodle 3.1
Member moodleform::save_files ($destination)

since Moodle 2.0

Member moodleform_mod::add_intro_editor ($required=null, $customlabel=null)
since MDL-49101 - use moodleform_mod::standard_intro_elements() instead.
Member moodleform_mod::moodleform_mod ($current, $section, $cm, $course)
since Moodle 3.1
Member MoodleODSFormat::set_pattern ($pattern=1)
use set_bg_color() instead.
Member MoodleQuickForm::getShowAdvanced ()
since Moodle 2.5
Member MoodleQuickForm::MoodleQuickForm ($formName, $method, $action, $target='', $attributes=null)
since Moodle 3.1
Member MoodleQuickForm::setShowAdvanced ($showadvancedNow=null)
since Moodle 2.5
Member MoodleQuickForm_advcheckbox::MoodleQuickForm_advcheckbox ($elementName=null, $elementLabel=null, $text=null, $attributes=null, $values=null)
since Moodle 3.1
Member MoodleQuickForm_autocomplete::MoodleQuickForm_autocomplete ($elementName=null, $elementLabel=null, $options=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_button::MoodleQuickForm_button ($elementName=null, $value=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_cancel::MoodleQuickForm_cancel ($elementName=null, $value=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_checkbox::MoodleQuickForm_checkbox ($elementName=null, $elementLabel=null, $text='', $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_date_selector::MoodleQuickForm_date_selector ($elementName=null, $elementLabel=null, $options=array(), $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_date_time_selector::MoodleQuickForm_date_time_selector ($elementName=null, $elementLabel=null, $options=array(), $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_duration::MoodleQuickForm_duration ($elementName=null, $elementLabel=null, $options=array(), $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_editor::MoodleQuickForm_editor ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
since Moodle 3.1
Member MoodleQuickForm_editor::setHelpButton ($_helpbuttonargs, $function='_helpbutton')
since Moodle 2.0
Member MoodleQuickForm_filemanager::MoodleQuickForm_filemanager ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
since Moodle 3.1
Member MoodleQuickForm_filepicker::MoodleQuickForm_filepicker ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
since Moodle 3.1
Member MoodleQuickForm_grading::MoodleQuickForm_grading ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_group::MoodleQuickForm_group ($elementName=null, $elementLabel=null, $elements=null, $separator=null, $appendName=true)
since Moodle 3.1
Member moodlequickform_guideeditor::moodlequickform_guideeditor ($elementname=null, $elementlabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_header::MoodleQuickForm_header ($elementName=null, $text=null)
since Moodle 3.1
Member MoodleQuickForm_hidden::MoodleQuickForm_hidden ($elementName=null, $value='', $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_hidden::setHelpButton ($helpbuttonargs, $function='helpbutton')
since Moodle 2.0
Member MoodleQuickForm_htmleditor::MoodleQuickForm_htmleditor ($elementName=null, $elementLabel=null, $options=array(), $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_listing::MoodleQuickForm_listing ($elementName=null, $elementLabel=null, $attributes=null, $options=array())
since Moodle 3.1
Member MoodleQuickForm_modgrade::MoodleQuickForm_modgrade ($elementname=null, $elementlabel=null, $options=array(), $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_modvisible::MoodleQuickForm_modvisible ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
since Moodle 3.1
Member MoodleQuickForm_password::MoodleQuickForm_password ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_passwordunmask::MoodleQuickForm_passwordunmask ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_questioncategory::MoodleQuickForm_questioncategory ($elementName=null, $elementLabel=null, $options=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_radio::MoodleQuickForm_radio ($elementName=null, $elementLabel=null, $text=null, $value=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_recaptcha::MoodleQuickForm_recaptcha ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_Renderer::MoodleQuickForm_Renderer ()
since Moodle 3.1
Member MoodleQuickForm_rubriceditor::MoodleQuickForm_rubriceditor ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_searchableselector::MoodleQuickForm_searchableselector ($elementName=null, $elementLabel=null, $options=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_select::MoodleQuickForm_select ($elementName=null, $elementLabel=null, $options=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_selectgroups::MoodleQuickForm_selectgroups ($elementName=null, $elementLabel=null, $optgrps=null, $attributes=null, $showchoose=false)
since Moodle 3.1
Member MoodleQuickForm_selectwithlink::MoodleQuickForm_selectwithlink ($elementName=null, $elementLabel=null, $options=null, $attributes=null, $linkdata=null)
since Moodle 3.1
Member MoodleQuickForm_selectyesno::MoodleQuickForm_selectyesno ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
since Moodle 3.1
Member MoodleQuickForm_static::MoodleQuickForm_static ($elementName=null, $elementLabel=null, $text=null)
since Moodle 3.1
Member MoodleQuickForm_submit::MoodleQuickForm_submit ($elementName=null, $value=null, $attributes=null, $primary=null)
since Moodle 3.1
Member MoodleQuickForm_tags::DEFAULTUI
since 3.1
Member MoodleQuickForm_tags::MoodleQuickForm_tags ($elementName=null, $elementLabel=null, $options=array(), $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_tags::NOOFFICIAL
since 3.1
Member MoodleQuickForm_tags::ONLYOFFICIAL
since 3.1
Member MoodleQuickForm_text::MoodleQuickForm_text ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_textarea::MoodleQuickForm_textarea ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_url::MoodleQuickForm_url ($elementName=null, $elementLabel=null, $attributes=null, $options=null)
since Moodle 3.1
Member MoodleQuickForm_warning::MoodleQuickForm_warning ($elementName=null, $elementClass='notifyproblem', $text=null)
since Moodle 3.1
Member MoodleQuickForm_wikieditor::MoodleQuickForm_wikieditor ($elementName=null, $elementLabel=null, $attributes=null)
since Moodle 3.1
Member MoodleQuickForm_wikifiletable::MoodleQuickForm_wikifiletable ($elementName=null, $elementLabel=null, $attributes=null, $fileinfo=null, $format=null)
since Moodle 3.1
Member move_category ()
since 2.5
Member mygroupid ()
use groups_get_all_groups() instead.
Member mysql_sql_generator::guess_antolope_row_size (array $columns)
since Moodle 2.9 MDL-49723 - please do not use this function any more.
Member mysqli_native_moodle_database::sql_cast_2signed ($fieldname)
since 2.3
Member navmenu ()
not relevant with global navigation in Moodle 2.x+
Member normalize_component ($component)
since 2.6, use core_component::normalize_component()
Member notify ()
since Moodle 2.0 MDL-19077 - use $OUTPUT->notification instead.
Member null_filter_manager::text_filtering_hash ()
Since Moodle 3.0 MDL-50491.
Member ouwiki_changes::ouwiki_changes ($diff, $count2)
since Moodle 3.1
Member ouwiki_line::ouwiki_line ($data, $linepos)
since Moodle 3.1
Member ouwiki_word::ouwiki_word ($word, $start)
since Moodle 3.1
Member page_requirements_manager::data_for_js ($variable, $data, $inhead=false)
Member page_requirements_manager::js_function_call ($function, array $arguments=null, $ondomready=false, $delay=0)
Member ParallelRegex ($case)
since Moodle 3.1
Member PARAM_ACTION
since 2.0
Member PARAM_CLEAN
since 2.0
Member PARAM_FORMAT
since 2.0
Member PARAM_INTEGER
since 2.0
Member PARAM_MULTILANG
since 2.0
Member PARAM_NUMBER
since 2.0
Member password_compat_not_supported ()
since 2.7 PHP 5.4.x should be always compatible.
Member plagiarism_get_form_elements_module ($mform, $context, $modulename="")

Since Moodle 3.9. MDL-65835 Please use {plugin name}_coursemodule_standard_elements() instead.

Member plagiarism_plugin::get_form_elements_module ($mform, $context, $modulename="")

Since Moodle 3.9. MDL-65835 Please use {plugin name}_coursemodule_edit_post_actions() instead.

Member plagiarism_plugin::save_form_elements ($data)

Since Moodle 3.9. MDL-65835 Please use {plugin name}_coursemodule_standard_elements() instead.

Member plagiarism_save_form_elements ($data)

Since Moodle 3.9. MDL-65835 Please use {plugin name}_coursemodule_edit_post_actions() instead.

Member preload_course_contexts ()
since Moodle 2.2
Member prevent_form_autofill_password ()
since Moodle 3.2
Member print_arrow ($direction='up', $strsort=null, $return=false)

use $OUTPUT->arrow() instead.

Member print_category_info ()
since 2.5
Member print_checkbox ()
use html_writer::checkbox() instead.
Member print_container ()
use $OUTPUT->container() instead.
Member print_container_end ()
use $OUTPUT->container_end() instead.
Member print_container_start ()
use $OUTPUT->container_start() instead.
Member print_context_name ()
since 2.2
Member print_continue ()
use $OUTPUT->continue_button() instead.
Member print_course ()
since 2.5
Member print_course_search ()
since 2.5
Member print_courses ()
since 2.5
Member print_graded_users_selector ($course, $actionpage, $userid=0, $groupid=0, $includeall=true, $return=false)
since 2.0
Member print_header ()
use $PAGE methods instead.
Member print_header_simple ()
use $PAGE methods instead.
Member print_log ()
since Moodle 3.2
Member print_log_csv ()
since Moodle 3.2
Member print_log_ods ()
since Moodle 3.2
Member print_log_xls ()
since Moodle 3.2
Member print_mnet_log ()
since Moodle 3.2
Member print_my_moodle ()
since 2.5
Member print_navigation ()
use $OUTPUT->navbar() instead
Member print_overview ()
since 2.5
Member print_recent_activity ()
since 2.5
Member print_remote_course ()
since 2.5
Member print_remote_host ()
since 2.5
Member print_scale_menu_helpbutton ()
use $OUTPUT->help_icon_scale($courseid, $scale) instead.
Member print_section ()
since 2.5
Member print_section_add_menus ()
since 2.5
Member print_side_block ()
use $OUTPUT->block() instead.
Member print_textarea ($unused, $rows, $cols, $width, $height, $name, $value='', $obsolete=0, $return=false, $id='')
since Moodle 3.6
Member print_whole_category_list ()
since 2.5
Member profile_display_badges ()
since Moodle 2.9 MDL-45898 - please do not use this function any more.
Member profile_field_base::profile_field_base ($fieldid=0, $userid=0)
since Moodle 3.1
Member put_records_csv ()
since Moodle 3.2
Member qtype_essay_format_editorfilepicker_renderer::specific_filepicker_options ($acceptedtypes, $draftitemid, $context)
since 3.5
Member question_add_tops ()
since Moodle 3.5. MDL-61132
Member question_attempt::PARAM_MARK
since Moodle 3.0
Member question_category_object::question_category_object ($page, $pageurl, $contexts, $currentcat, $defaultcategory, $todelete, $addcontexts)
since Moodle 3.1
Member question_edit_form::get_non_collabsible_editor_options ()
since 2.6
Member question_is_only_toplevel_category_in_context ()
since Moodle 3.5. MDL-61132
Member quiz::confirm_start_attempt_message ($notused)
since 3.1. This sort of functionality is now entirely handled by quiz access rules.
Member quiz_attempts_report::load_relevant_students ($cm, $course=null)
since Moodle 3.2 Please use get_students_joins() instead.
Member quiz_groups_group_deleted_handler ($event)
since 2.6, see mod_quiz::group_observers::group_deleted().
Member quiz_groups_member_added_handler ($event)
since 2.6, see mod_quiz::group_observers::group_member_added().
Member quiz_groups_member_removed_handler ($event)
since 2.6, see mod_quiz::group_observers::group_member_removed().
Member quiz_groups_members_removed_handler ($event)
since 2.6, see mod_quiz::group_observers::group_member_removed().
Member quiz_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member quiz_statistics_graph_get_new_colour ()
since Moodle 3.2
Member rebuild_contexts ()
since 2.2
Member renderer_base::pix_url ($imagename, $component='moodle')
since Moodle 3.3
Member report_insights_context_insights (\context $context)

since Moodle 3.8 MDL-66091 - please do not use this function any more.

Member report_log_renderer::render_report_log_renderable (report_log_renderable $reportlog)
since 2.8, to be removed in 2.9
Member report_log_table_log::col_course ($event)
since Moodle 2.9 MDL-48595 - please do not use this function any more.
Member report_log_table_log::update_users_and_courses_used ()
since Moodle 2.9 MDL-48595 - please do not use this function any more.
Member report_loglive_renderer::render_report_loglive_renderable (report_loglive_renderable $reportloglive)
since 2.8, to be removed in 2.9
Member report_loglive_renderer_ajax::render_report_loglive_renderable (report_loglive_renderable $reportloglive)
since 2.8, to be removed in 2.9
Member repository::antivir_scan_file ($thefile, $filename, $deleteinfected)
since Moodle 3.0
Member repository::append_suffix ($filename)
since 2.5
Member repository::GETFILE_TIMEOUT
since Moodle 2.7, please use $CFG->repositorygetfiletimeout instead
Member repository::reset_caches ()
since Moodle 2.6 MDL-42016 - please do not use this function any more.
Member repository::sync_external_file ($file, $resetsynchistory=false)
since Moodle 2.6 MDL-42016 - please do not use this function any more.
Member repository::SYNCFILE_TIMEOUT
since Moodle 2.7, please use $CFG->repositorysyncfiletimeout instead
Member repository::SYNCIMAGE_TIMEOUT
since Moodle 2.7, please use $CFG->repositorysyncimagetimeout instead
Member repository::uses_post_requests ()
since Moodle 3.2, 3.1.1, 3.0.5
Member reset_login_count ()
File run_from_cli.php

since Moodle 3.9 MDL-63580. Please use the core::task::manager.

Member scorm_print_overview ()
since Moodle 3.3, when the block_course_overview block was removed.
Member search_generate_text_SQL ($parsetree, $datafield, $metafield, $mainidfield, $useridfield, $userfirstnamefield, $userlastnamefield, $timefield, $instancefield)

since Moodle 2.9 MDL-48939

Member search_lexer::search_lexer (&$parser)
since Moodle 3.1
Member search_token::search_token ($type, $value)
since Moodle 3.1
Member session_get_instance ()
since 2.6
Member session_get_realuser ()
since 2.6
Member session_is_legacy ()
since 2.6
Member session_is_loggedinas ()
since 2.6
Member session_kill ()
since 2.6
Member session_kill_all ()
since 2.6
Member session_kill_user ()
since 2.6
Member session_loginas ()
since 2.6
Member session_set_user ()
since 2.6
Member session_touch ()
since 2.6
Member set_current_group ()
Since year 2006 - please do not use this function any more.
Member set_user_device_type ()
since 2.6
Member show_event ()
please use calendar_event->toggle_visibility(true) instead.
Member single_select::set_old_help_icon ($helppage, $title, $component='moodle')
since Moodle 2.0
Member site_scale_used ()
since Moodle 3.1
Member skip_main_destination ()
use $OUTPUT->skip_link_target() in instead.
Member StateStack::StateStack ($start)
since Moodle 3.1
File store.php

since Moodle 3.6 MDL-52953 - Please use supported log stores such as "standard" or "external" instead.

Member stored_file::get_referencelifetime ()
since Moodle 2.6 MDL-42016 - please do not use this function any more.
Member stored_file::replace_content_with (stored_file $storedfile)
since Moodle 2.6 MDL-42016 - please do not use this function any more.
Member stored_file::set_filesize ($filesize)
since Moodle 2.6 MDL-42016 - please do not use this function any more.
Member table_default_export_format_parent::table_default_export_format_parent (&$table)
since Moodle 3.1
Member tag_add ()
since 3.1
Member tag_assign ()
since 3.1. Use core_tag_tag::set_item_tags() or core_tag_tag::add_item_tag() instead
Member tag_autocomplete ()
since 3.0
Member tag_bulk_delete_instances ()
since 3.1
Member tag_cleanup ()
since 3.1
Member tag_cloud_sort ()
since 3.1
Member tag_compute_correlations ()
since 3.1
Member tag_cron ()
since 3.1
Member tag_delete ()
since 3.1
Member tag_delete_instance ()
since 3.1. Use core_tag_tag::remove_item_tag() instead
Member tag_delete_instances ()
since 3.1
Member tag_description_set ()
since 3.1. Use core_tag_tag::get($tagid)->update() instead
Member tag_display_name ()
since 3.1
Member tag_find_records ()
since 3.1. Use core_tag_tag::get_by_name()->get_tagged_items() instead
Member tag_find_tags ()
since 3.1
Member tag_get ()
since 3.1
Member tag_get_correlated ()
since 3.1
Member tag_get_id ()
since 3.1. Use core_tag_tag::get_by_name() or core_tag_tag::get_by_name_bulk()
Member tag_get_name ()
since 3.1
Member tag_get_related_tags ()
since 3.1
Member tag_get_related_tags_csv ()
since 3.1
Member tag_get_tags ()
since 3.1. Use core_tag_tag::get_item_tags() instead
Member tag_get_tags_array ()
since 3.1
Member tag_get_tags_csv ()
since 3.1. Use core_tag_tag::get_item_tags_array() or $OUTPUT->tag_list(core_tag_tag::get_item_tags())
Member tag_get_tags_ids ()
since 3.1. Use core_tag_tag::get_item_tags() instead
Member tag_normalize ()
since 3.1
Member tag_print_cloud ()
since 3.1
Member tag_print_description_box ()
since 3.1
Member tag_print_management_box ()
since 3.1
Member tag_print_search_box ()
since 3.1
Member tag_print_search_results ()
since 3.1
Member tag_print_tagged_users_table ()
since 3.1
Member tag_print_user_box ()
since 3.1
Member tag_print_user_list ()
since 3.1
Member tag_process_computed_correlation ()
since 3.1
Member tag_record_count ()
since 3.1. Use core_tag_tag::get($tagid)->count_tagged_items() instead
Member tag_record_tagged_with ()
since 3.1. Use core_tag_tag::get($tagid)->is_item_tagged_with() instead
Member tag_rename ()
since 3.1. Use core_tag_tag::get($tagid)->update() instead
Member tag_set ()
since 3.1
Member tag_set_add ()
since 3.1
Member tag_set_delete ()
since 3.1
Member tag_set_flag ()
since 3.1. Use core_tag_tag::get($tagid)->flag() instead
Member tag_type_set ()
since 3.1. Use core_tag_tag::get($tagid)->update() instead
Member tag_unset_flag ()
since 3.1. Use core_tag_tag::get($tagid)->reset_flag() instead
Member testing_module_generator::post_add_instance ($id, $cmid)
since 2.6
Member testing_module_generator::precreate_course_module ($courseid, array $options)
since 2.6
Member textlib_get_instance ()
since Moodle 2.2 use core_text::xxxx() instead.
Member tgz_packer::has_required_extension ()
since 2.7 Always true because zlib extension is now required.
Member theme_config::pix_url ($imagename, $component)
since Moodle 3.3
File unified_filter.php
since Moodle 3.9 MDL-68612 - Please use core_user::table::participants_search::class and table filtersets instead.
Member unzip_file ($zipfile, $destination='', $showstatus_ignored=true)
since 2.0 MDL-15919
Member update_category_button ()
since 2.5
Member update_event ()
please calendar_event->update() instead.
Member update_log_display_entry ()
Member update_login_count ()
Member update_module_button ()
since Moodle 3.2
Member update_timezone_records ()
since Moodle 2.9
Class upload_manager
since 2.7 - use new file pickers instead
Member upload_manager::__construct ($inputname='', $deleteothers=false, $handlecollisions=false, $course=null, $recoverifmultiple=false, $modbytes=0, $silent=false, $allownull=false, $allownullmultiple=true)
since 2.7 - use new file pickers instead
Member url_select::set_old_help_icon ($helppage, $title, $component='moodle')
since Moodle 2.0
Member user_filter_cohort::user_filter_cohort ($advanced)
since Moodle 3.1
Member user_filter_courserole::user_filter_courserole ($name, $label, $advanced)
since Moodle 3.1
Member user_filter_date::user_filter_date ($name, $label, $advanced, $field)
since Moodle 3.1
Member user_filter_globalrole::user_filter_globalrole ($name, $label, $advanced)
since Moodle 3.1
Member user_filter_profilefield::user_filter_profilefield ($name, $label, $advanced)
since Moodle 3.1
Member user_filter_select::user_filter_select ($name, $label, $advanced, $field, $options, $default=null)
since Moodle 3.1
Member user_filter_simpleselect::user_filter_simpleselect ($name, $label, $advanced, $field, $options)
since Moodle 3.1
Member user_filter_text::user_filter_text ($name, $label, $advanced, $field)
since Moodle 3.1
Member user_filter_type::user_filter_type ($name, $label, $advanced)
since Moodle 3.1
Member user_filter_yesno::user_filter_yesno ($name, $label, $advanced, $field)
since Moodle 3.1
Member user_get_participants ($courseid, $groupid=0, $accesssince, $roleid, $enrolid=0, $statusid, $search, $additionalwhere='', $additionalparams=array(), $sort='', $limitfrom=0, $limitnum=0)
since Moodle 3.9 MDL-68612 - See core_user::table::participants_search for an improved way to fetch participants.
Member user_get_participants_sql ($courseid, $groupid=0, $accesssince=0, $roleid=0, $enrolid=0, $statusid=-1, $search='', $additionalwhere='', $additionalparams=array())
since Moodle 3.9 MDL-68612 - See core_user::table::participants_search for an improved way to fetch participants.
Member user_get_total_participants ($courseid, $groupid=0, $accesssince=0, $roleid=0, $enrolid=0, $statusid=-1, $search='', $additionalwhere='', $additionalparams=array())
since Moodle 3.9 MDL-68612 - See core_user::table::participants_search for an improved way to fetch participants.
Member useredit_shared_definition_preferences ()
since Moodle 2.9 MDL-45774 - Please do not use this function any more.
Member useredit_update_picture ()
since Moodle 3.2
Class webservice_parameter_exception
since Moodle 2.2 - use moodle exception instead This exception must be thrown to the web service client when a web service parameter is invalid The error string is gotten from webservice.php
Member wiki_scale_used ()
since Moodle 3.8
Member WikiDiff::WikiDiff ($from_lines, $to_lines)
since Moodle 3.1
Member workshop::clean_file_extensions ($extensions)
since Moodle 3.4 MDL-56486 - please use the core_form::filetypes_util
Member workshop::invalid_file_extensions ($extensions, $whitelist)
since Moodle 3.4 MDL-56486 - please use the core_form::filetypes_util
Member workshop::is_allowed_file_type ($filename, $whitelist)
since Moodle 3.4 MDL-56486 - please use the core_form::filetypes_util
Member workshop::log ($action, moodle_url $url=null, $info=null, $return=false)
since 2.7 Please use the provided event classes for logging actions.
Member workshop::normalize_file_extensions ($extensions)
since Moodle 3.4 MDL-56486 - please use the core_form::filetypes_util
Member workshop_scale_used ()
since Moodle 3.8
Member xmldb_field::getUnsigned ()
since moodle 2.3
Member xmldb_field::setUnsigned ($unsigned=true)
since moodle 2.3
Member XMLDB_UNSIGNED
since 2.3
Member zip_files ($originalfiles, $destination)
since 2.0 MDL-15919