|
| add_event () |
| CALENDAR MANAGEMENT ////////////////////////////////////////////////////////////////. More...
|
|
| add_mod_to_section () |
|
| add_to_log ($courseid, $module, $action, $url='', $info='', $cm=0, $user=0) |
| Add an entry to the legacy log table. More...
|
|
| ajaxenabled () |
|
| allow_assign () |
|
| allow_override () |
|
| allow_switch () |
|
| badges_get_issued_badge_info () |
|
| blog_get_context_url () |
|
| build_context_path () |
|
| build_logs_array () |
|
| build_navigation () |
|
| calculate_user_dst_table () |
|
| calendar_cron () |
|
| calendar_get_all_allowed_types () |
| Get all of the allowed types for all of the courses and groups the logged in user belongs to. More...
|
|
| calendar_get_block_upcoming () |
|
| calendar_get_mini () |
|
| calendar_get_upcoming () |
|
| calendar_normalize_tz () |
|
| calendar_preferences_button () |
|
| calendar_print_month_selector () |
|
| calendar_wday_name () |
|
| can_use_html_editor () |
|
| can_use_rotated_text () |
|
| category_delete_full () |
|
| category_delete_move () |
|
| check_browser_operating_system () |
|
| check_browser_version () |
|
| check_gd_version () |
|
| choose_from_menu () |
|
| clam_change_log () |
|
| clam_handle_infected_file () |
|
| clam_log_infected () |
|
| clam_log_upload () |
|
| clam_message_admins () |
|
| clam_replace_infected_file () |
|
| clam_scan_moodle_file () |
|
| cleanup_contexts () |
|
| cohort_get_visible_list () |
|
| completion_cron () |
|
| context_instance_preload () |
|
| context_instance_preload_sql () |
|
| context_moved () |
|
| convert_tabrows_to_tree () |
|
| convert_tree_to_html () |
|
| count_login_failures () |
|
| course_category_hide () |
|
| course_category_show () |
|
| course_get_cm_rename_action () |
|
| course_scale_used () |
|
| coursemodule_visible_for_user () |
|
| coursetag_delete_course_tags () |
|
| coursetag_delete_keyword () |
|
| coursetag_get_all_tags () |
|
| coursetag_get_jscript () |
|
| coursetag_get_jscript_links () |
|
| coursetag_get_records () |
|
| coursetag_get_tagged_courses () |
|
| coursetag_get_tags () |
|
| coursetag_store_keywords () |
|
| create_contexts () |
|
| create_course_category () |
|
| cron_bc_hack_plugin_functions ($plugintype, $plugins) |
| Used to add in old-style cron functions within plugins that have not been converted to the new standard API. More...
|
|
| cron_execute_plugin_type ($plugintype, $description=null) |
| Executes cron functions for a specific type of plugin. More...
|
|
| cron_run_single_task (\core\task\scheduled_task $task) |
| Runs a single cron task. More...
|
|
| css_is_colour () |
|
| css_is_width () |
|
| css_minify_css () |
|
| css_sort_by_count () |
|
| current_theme () |
|
| dedupe_user_access () |
|
| delete_context () |
|
| delete_course_module () |
|
| delete_event () |
|
| detect_munged_arguments () |
|
| dst_changes_for_year () |
|
| enrol_cohort_can_view_cohort () |
|
| enrol_cohort_enrol_all_users () |
|
| enrol_cohort_get_cohorts () |
|
| enrol_cohort_search_cohorts () |
|
| error () |
|
| events_cleanup ($component, $cachedhandlers) |
| Deletes cached events that are no longer needed by the component. More...
|
|
| events_cron () |
|
| events_dequeue ($qhandler) |
| Removes this queued handler from the events_queued_handler table. More...
|
|
| events_dispatch () |
|
| events_get_cached ($component) |
| Gets the capabilities that have been cached in the database for this component. More...
|
|
| events_get_handlers ($eventname) |
| Returns handlers for given event. More...
|
|
| events_is_registered () |
|
| events_load_def () |
|
| events_pending_count () |
|
| events_process_queued_handler () |
|
| events_queue_handler () |
|
| events_trigger () |
|
| events_trigger_legacy () |
|
| events_uninstall ($component) |
|
| events_update_definition () |
|
| external_function_info () |
|
| fetch_context_capabilities () |
|
| filter_text () |
|
| format_weeks_get_section_dates () |
|
| formerr () |
|
| generate_email_supportuser () |
|
| get_all_mods () |
|
| get_all_sections () |
|
| get_all_subcategories () |
|
| get_browser_version_classes () |
|
| get_categories () |
|
| get_category_courses_array () |
|
| get_category_courses_array_recursively () |
|
| get_child_categories () |
|
| get_child_contexts () |
|
| get_clam_error_code () |
|
static | get_component_directory ($component) |
| Return exact absolute path to a plugin directory. More...
|
|
| get_context_instance ($contextlevel, $instance=0, $strictness=IGNORE_MISSING) |
| Get the context instance as an object. More...
|
|
| get_context_instance_by_id () |
|
| get_context_url () |
|
| get_contextlevel_name () |
|
| get_core_subsystems ($fullpaths=false) |
| List all core subsystems and their location. More...
|
|
| get_course_category () |
|
| get_course_category_tree () |
|
| get_course_context () |
|
| get_course_participants () |
|
| get_course_section () |
|
| get_courseid_from_context () |
|
| get_courses_page ($categoryid="all", $sort="c.sortorder ASC", $fields="c.*", &$totalcount, $limitfrom="", $limitnum="") |
| Returns list of courses, for whole site, or category. More...
|
|
| get_courses_wmanagers () |
|
| get_current_group () |
|
| get_device_cfg_var_name () |
|
| get_device_type () |
|
| get_device_type_list () |
|
| get_file_url () |
|
| get_generic_section_name () |
|
| get_list_of_timezones () |
|
| get_logs () |
|
| get_logs_usercourse () |
|
| get_logs_userday () |
|
| get_module_metadata ($course, $modnames, $sectionreturn=null) |
| Retrieve all metadata for the requested modules. More...
|
|
| get_parent_contextid () |
|
| get_parent_contexts () |
|
static | get_plugin_directory ($plugintype, $pluginname) |
| Returns the exact absolute path to plugin directory. More...
|
|
static | get_plugin_list ($plugintype) |
| Get list of plugins of given type. More...
|
|
static | get_plugin_list_with_class ($plugintype, $class, $file=null) |
| Get a list of all the plugins of a given type that define a certain class in a certain file. More...
|
|
| get_plugin_list_with_file () |
|
| get_plugin_types ($fullpaths=true) |
| Lists all plugin types. More...
|
|
| get_print_section_cm_text () |
|
| get_recent_enrolments () |
|
| get_records_csv () |
|
| get_referer () |
|
| get_related_contexts_string () |
|
| get_role_context_caps () |
|
| get_roles_on_exact_context (context $context) |
| This function finds the roles assigned directly to this context only i.e. More...
|
|
| get_roles_with_assignment_on_context (context $context) |
| Find out which roles has assignment on this context. More...
|
|
| get_selected_theme_for_device_type () |
|
| get_system_context ($cache=true) |
| Returns system context or null if can not be created yet. More...
|
|
| get_timezone_offset () |
|
| get_timezone_record () |
|
| get_user_access_sitewide () |
|
| get_user_courses_bycap () |
|
| get_user_device_type () |
|
| get_user_timezone_offset () |
|
| groupmode () |
| This means that cm_info::$groupmode should be ignored and cm_info::$coursegroupmode be used instead. More...
|
|
| groups_course_module_visible () |
|
| groups_filter_users_by_course_module_visible () |
|
| groups_get_all_groups_for_courses ($courses) |
|
| hide_event () |
|
| httpsrequired () |
|
| is_course_participant () |
|
| is_web_crawler () |
|
| js_minify () |
|
| load_course_context () |
|
| load_role_access_by_context () |
|
| make_categories_list () |
|
| make_editing_buttons () |
|
| mark_context_dirty () |
|
| message_add_contact ($contactid, $blocked=0, $userid=0) |
| Add the selected user as a contact for the current user. More...
|
|
| message_block_contact ($contactid, $userid=0) |
| Block a user. More...
|
|
| message_can_delete_message () |
|
| message_can_post_message () |
|
| message_contact_link () |
|
| message_count_blocked_users () |
|
| message_count_messages () |
|
| message_current_user_is_involved () |
|
| message_delete_message () |
|
| message_get_blocked_users () |
|
| message_get_contact ($contactid) |
| Load a user's contact record. More...
|
|
| message_get_contact_add_remove_link () |
|
| message_get_contact_block_link () |
|
| message_get_contacts () |
|
| message_get_course_contexts () |
|
| message_get_fragment () |
|
| message_get_history () |
|
| message_get_recent_conversations ($userorid, $limitfrom=0, $limitto=100) |
|
| message_get_recent_notifications () |
|
| message_history_link () |
|
| message_is_user_blocked () |
|
| message_is_user_non_contact_blocked () |
|
| message_mark_message_read () |
|
| message_mark_messages_read () |
|
| message_move_userfrom_unread2read () |
|
| message_page_type_list () |
|
| message_remove_contact ($contactid, $userid=0) |
| Remove a contact. More...
|
|
| message_remove_url_params () |
|
| message_search () |
|
| message_shorten_message () |
|
| message_unblock_contact ($contactid, $userid=0) |
| Unblock a contact. More...
|
|
| move_category () |
|
| mygroupid () |
|
| navmenu () |
|
static | normalize_component ($component) |
| Normalize the component name using the "frankenstyle" rules. More...
|
|
| notify () |
|
| password_compat_not_supported () |
|
| preload_course_contexts () |
|
| prevent_form_autofill_password () |
|
object | print_arrow ($direction='up', $strsort=null, $return=false) |
| Returns an image of an up or down arrow, used for column sorting. More...
|
|
| print_category_info () |
|
| print_checkbox () |
|
| print_container () |
|
| print_container_end () |
|
| print_container_start () |
|
| print_context_name () |
|
| print_continue () |
|
| print_course () |
|
| print_course_search () |
|
| print_courses () |
|
| print_header () |
|
| print_header_simple () |
|
| print_log () |
|
| print_log_csv () |
|
| print_log_ods () |
|
| print_log_xls () |
|
| print_mnet_log () |
|
| print_my_moodle () |
|
| print_navigation () |
|
| print_overview () |
|
| print_recent_activity () |
|
| print_remote_course () |
|
| print_remote_host () |
|
| print_scale_menu_helpbutton () |
|
| print_section () |
|
| print_section_add_menus () |
|
| print_side_block () |
|
object | print_textarea ($unused, $rows, $cols, $width, $height, $name, $value='', $obsolete=0, $return=false, $id='') |
| Prints a basic textarea field. More...
|
|
| print_whole_category_list () |
|
| profile_display_badges () |
|
| put_records_csv () |
|
| question_add_tops () |
|
| question_is_only_toplevel_category_in_context () |
|
| rebuild_contexts () |
|
| report_insights_context_insights (\context $context) |
| Returns the models that generated insights in the provided context. More...
|
|
| reset_login_count () |
|
| session_get_instance () |
|
| session_get_realuser () |
|
| session_is_legacy () |
|
| session_is_loggedinas () |
|
| session_kill () |
|
| session_kill_all () |
|
| session_kill_user () |
|
| session_loginas () |
|
| session_set_user () |
|
| session_touch () |
|
| set_current_group () |
|
| set_user_device_type () |
|
| show_event () |
|
| site_scale_used () |
|
| skip_main_destination () |
|
| tag_add () |
|
| tag_assign () |
|
| tag_autocomplete () |
|
| tag_bulk_delete_instances () |
|
| tag_cleanup () |
|
| tag_cloud_sort () |
|
| tag_compute_correlations () |
|
| tag_cron () |
|
| tag_delete () |
|
| tag_delete_instance () |
|
| tag_delete_instances () |
|
| tag_description_set () |
|
| tag_display_name () |
|
| tag_find_records () |
|
| tag_find_tags () |
|
| tag_get () |
|
| tag_get_correlated () |
|
| tag_get_id () |
|
| tag_get_name () |
|
| tag_get_related_tags () |
|
| tag_get_related_tags_csv () |
|
| tag_get_tags () |
|
| tag_get_tags_array () |
|
| tag_get_tags_csv () |
|
| tag_get_tags_ids () |
|
| tag_normalize () |
|
| tag_print_cloud () |
|
| tag_print_description_box () |
|
| tag_print_management_box () |
|
| tag_print_search_box () |
|
| tag_print_search_results () |
|
| tag_print_tagged_users_table () |
|
| tag_print_user_box () |
|
| tag_print_user_list () |
|
| tag_process_computed_correlation () |
|
| tag_record_count () |
|
| tag_record_tagged_with () |
|
| tag_rename () |
|
| tag_set () |
|
| tag_set_add () |
|
| tag_set_delete () |
|
| tag_set_flag () |
|
| tag_type_set () |
|
| tag_unset_flag () |
|
| textlib_get_instance () |
|
object | unzip_file ($zipfile, $destination='', $showstatus_ignored=true) |
| Unzip one zip file to a destination dir Both parameters must be FULL paths If destination isn't specified, it will be the SAME directory where the zip file resides. More...
|
|
| update_category_button () |
|
| update_event () |
|
| update_log_display_entry () |
|
| update_login_count () |
|
| update_module_button () |
|
| update_timezone_records () |
|
| user_get_participants ($courseid, $groupid=0, $accesssince, $roleid, $enrolid=0, $statusid, $search, $additionalwhere='', $additionalparams=array(), $sort='', $limitfrom=0, $limitnum=0) |
| Returns the participants for a given course. More...
|
|
| user_get_participants_sql ($courseid, $groupid=0, $accesssince=0, $roleid=0, $enrolid=0, $statusid=-1, $search='', $additionalwhere='', $additionalparams=array()) |
| Returns the SQL used by the participants table. More...
|
|
| user_get_total_participants ($courseid, $groupid=0, $accesssince=0, $roleid=0, $enrolid=0, $statusid=-1, $search='', $additionalwhere='', $additionalparams=array()) |
| Returns the total number of participants for a given course. More...
|
|
| useredit_shared_definition_preferences () |
|
object | zip_files ($originalfiles, $destination) |
| Zip an array of files/dirs to a destination zip file Both parameters must be FULL paths to the files/dirs. More...
|
|
deprecatedlib.php - Old functions retained only for backward compatibility
Old functions retained only for backward compatibility. New code should not use any of these functions.
@subpackage deprecated
- Copyright
- 1999 onwards Martin Dougiamas
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- Deprecated: