Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
core

Files

file  access_token.php
 Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions.
 
file  activities_due.php
 Activities due indicator.
 
file  adhoc_task.php
 Adhoc task abstract class.
 
file  adminlib.php
 Functions and classes used during installation, upgrades and for admin settings.
 
file  advanced_testcase.php
 Advanced test case.
 
file  ajaxlib.php
 Library functions to facilitate the use of ajax JavaScript in Moodle.
 
file  alignment_form.php
 Form alignment for editing.
 
file  analytics.php
 Defines the built-in prediction models provided by the Moodle core.
 
file  analytics_cleanup_task.php
 A scheduled task.
 
file  any_access_after_end.php
 Any access after the official end of the course.
 
file  any_access_before_start.php
 Any access before the official start of the course.
 
file  any_course_access.php
 Any access indicator.
 
file  any_write_action.php
 Write actions indicator.
 
file  any_write_action_in_course.php
 Write actions in a course indicator.
 
file  api.php
 The class core\update\api is defined here.
 
file  api.php
 Class for loading/storing oauth2 endpoints from the DB.
 
file  api.php
 Class communication.
 
file  arraydataset.php
 Array based data iterator.
 
file  assertion.php
 Badge assertion library.
 
 
file  assessable_uploaded.php
 Abstract assessable uploaded event.
 
file  async_helper.class.php
 Helper functions for asynchronous backups and restores.
 
file  asynchronous_backup_task.php
 Adhoc task that performs asynchronous backups.
 
file  asynchronous_restore_task.php
 Adhoc task that performs asynchronous restores.
 
file  auth.php
 Defines classes used for plugin info.
 
file  authlib.php
 Multiple plugin authentication Support library.
 
file  autoloader.php
 PHPUnit autoloader for Moodle.
 
file  automated_backup_task.php
 A scheduled task.
 
file  availability.php
 Class for availability plugins.
 
file  award_criteria.php
 Badge award criteria.
 
file  award_criteria_activity.php
 This file contains the activity badge award criteria type class.
 
file  award_criteria_badge.php
 This file contains the badge earned badge award criteria type class.
 
file  award_criteria_cohort.php
 This file contains the cohort membership badge award criteria type class.
 
file  award_criteria_competency.php
 This file contains the badge earned badge award criteria type class.
 
file  award_criteria_course.php
 This file contains the course completion badge award criteria type class.
 
file  award_criteria_courseset.php
 This file contains the courseset completion badge award criteria type class.
 
file  award_criteria_manual.php
 This file contains the manual badge award criteria type class.
 
file  award_criteria_overall.php
 This file contains the overall badge award criteria type.
 
file  award_criteria_profile.php
 This file contains the profile completion badge award criteria type class.
 
file  awardlib.php
 Classes to manage manual badge award.
 
file  backpack.php
 Form class for mybackpack.php.
 
file  backup_cleanup_task.php
 A scheduled task.
 
file  backup_cron_helper.class.php
 Utility helper for automated backups run through cron.
 
file  backuplib.php
 Provides imscc11_export_converter class.
 
file  badge.php
 Form classes for editing badges.
 
file  badge.php
 Badge assertion library.
 
file  badge_alignments.php
 Issued badge renderable.
 
file  badge_archived.php
 Badge archived event.
 
file  badge_awarded.php
 Badge awarded event.
 
file  badge_collection.php
 Issued badge renderable.
 
file  badge_created.php
 Badge created event.
 
file  badge_criteria_created.php
 Badge criteria created event.
 
file  badge_criteria_deleted.php
 Badge criteria deleted event.
 
file  badge_criteria_updated.php
 Badge criteria updated event.
 
file  badge_deleted.php
 Badge deleted event.
 
file  badge_disabled.php
 Badge disabled event.
 
file  badge_duplicated.php
 Badge duplicated event.
 
file  badge_enabled.php
 Badge enabled event.
 
file  badge_listing_viewed.php
 Badge listing viewed event.
 
file  badge_management.php
 Issued badge renderable.
 
file  badge_recipients.php
 Issued badge renderable.
 
 
file  badge_revoked.php
 Badge revoked event.
 
file  badge_updated.php
 Badge updated event.
 
file  badge_user_collection.php
 Collection of use badges.
 
file  badge_viewed.php
 Badge viewed event.
 
file  badges.php
 This file defines settingpages and externalpages under the "badges" section.
 
file  badges_cron_task.php
 A scheduled task.
 
file  badges_message_task.php
 A scheduled task.
 
file  badgeslib.php
 Contains classes, functions and constants used in badges.
 
file  bakerlib.php
 Baking badges library.
 
file  base.php
 Defines classes used for plugin info.
 
file  base.php
 Base event class.
 
file  base.php
 Base class for dataformat.
 
file  base_testcase.php
 Base test case class.
 
file  basic_testcase.php
 Basic test case.
 
file  behat_action_menu.php
 Steps definitions to open and close action menus.
 
file  behat_app.php
 Mobile/desktop app steps definitions.
 
file  behat_base.php
 Base class of all steps definitions.
 
file  behat_command.php
 Behat command utils.
 
file  behat_config_manager.php
 Utils to set Behat config.
 
file  behat_config_util.php
 Utils to set Behat config.
 
file  behat_context_helper.php
 Helper to get behat contexts from other contexts.
 
file  behat_core_generator.php
 Data generators for acceptance testing.
 
file  behat_data_generators.php
 Data generators for acceptance testing.
 
file  behat_deprecated.php
 Steps definitions that will be deprecated in the next releases.
 
file  behat_field_manager.php
 Form fields helper.
 
file  behat_filters.php
 Steps definitions related to filters.
 
file  behat_forms.php
 Steps definitions related with forms.
 
file  behat_general.php
 General use steps definitions.
 
file  behat_generator_base.php
 Base class for data generators component support for acceptance testing.
 
file  behat_init_context.php
 Contexts initializer class.
 
 
file  behat_navigation.php
 Navigation steps definitions.
 
file  behat_permissions.php
 Steps definitions related with permissions.
 
file  behat_selectors.php
 Moodle-specific selectors.
 
file  behat_transformations.php
 Behat arguments transformations.
 
file  behaviourtypebase.php
 Defines the question behaviour type base class.
 
file  block.php
 Defines classes used for plugin info.
 
file  block_generator.php
 Block generator base class.
 
file  blocklib.php
 Block Class and Functions.
 
file  blog_association_created.php
 Event for when a new blog entry is associated with a context.
 
file  blog_association_deleted.php
 Event for when a new blog entry is associated with a context.
 
file  blog_comment_created.php
 The blog comment created event.
 
file  blog_comment_deleted.php
 The blog comment deleted event.
 
file  blog_cron_task.php
 A scheduled task.
 
file  blog_entries_viewed.php
 Event for when blog entries are viewed.
 
file  blog_entry_created.php
 Event for when a new blog entry is added.
 
file  blog_entry_deleted.php
 Event for when a new blog entry is deleted.
 
file  blog_entry_updated.php
 Event to be triggered when a blog entry is updated.
 
file  blog_external_added.php
 Event for when a new blog entry is associated with a context.
 
file  blog_external_removed.php
 Event for when a new blog entry is associated with a context.
 
file  blog_external_updated.php
 Event for when a new blog entry is associated with a context.
 
file  blog_external_viewed.php
 Event for when a new blog entry is associated with a context.
 
file  bootstraplib.php
 PHPUnit bootstrap function.
 
file  boxlib.php
 Box.net client.
 
file  brokenfile.php
 This is an empty file which is used in order to prevent error logs in the serverlog.
 
file  build_installed_themes_task.php
 Adhoc task that builds and caches all of the site's installed themes.
 
file  cache_cleanup_task.php
 A scheduled task.
 
file  cache_cron_task.php
 A scheduled task.
 
file  cachelock.php
 Defines classes used for plugin info.
 
file  caches.php
 Core cache definitions.
 
file  cachestore.php
 Defines classes used for plugin info.
 
file  calculated.php
 Question statistics calculations class.
 
file  calculator.php
 Question statistics calculator class.
 
file  calendar_cron_task.php
 A scheduled task.
 
file  calendar_event_created.php
 Calendar event created event.
 
file  calendar_event_deleted.php
 Calendar event deleted event.
 
file  calendar_event_updated.php
 Calendar event updated event.
 
file  calendar_subscription_created.php
 calendar subscription added event.
 
file  calendar_subscription_deleted.php
 calendar subscription deleted event.
 
file  calendar_subscription_updated.php
 calendar subscription updated event.
 
file  calendartype.php
 Defines classes used for plugin info.
 
file  capability_assigned.php
 Capability assigned event.
 
file  capability_unassigned.php
 Capability unassigned event.
 
file  category.php
 Contains class core_course_category responsible for course category operations.
 
file  change_password_form.php
 Change password form definition.
 
file  chart_axis.php
 Chart axis.
 
file  chart_bar.php
 Chart bar.
 
file  chart_base.php
 Chart base.
 
file  chart_line.php
 Chart line.
 
file  chart_pie.php
 Chart pie.
 
file  chart_series.php
 Chart series.
 
file  check_for_updates_task.php
 A scheduled task.
 
file  checkbox_toggleall.php
 The renderable for core/checkbox-toggleall.
 
file  checker.php
 Defines classes used for updates.
 
file  checker_exception.php
 Defines classes used for updates.
 
file  chooser.php
 The chooser renderable.
 
file  chooser_item.php
 The chooser_item renderable.
 
file  chooser_section.php
 The chooser_section renderable.
 
file  clean_up_deleted_search_area_task.php
 Adhoc task that clean up data related ro deleted search area.
 
file  client.php
 Configurable oauth2 client class.
 
file  clilib.php
 Command line utility functions and classes.
 
file  cohort_created.php
 Cohort updated event.
 
file  cohort_deleted.php
 Cohort deleted event.
 
file  cohort_member_added.php
 User added to a cohort event.
 
file  cohort_member_removed.php
 User removed from a cohort event.
 
file  cohort_updated.php
 Cohort updated event.
 
file  collator.php
 Defines string apis.
 
file  collections.php
 Form class for mybackpack.php.
 
file  comment_created.php
 Abstract comment created event.
 
file  comment_deleted.php
 Abstract comment deleted event.
 
file  comments_viewed.php
 Abstract comments viewed event.
 
file  completion_daily_task.php
 A scheduled task.
 
file  completion_defaults_updated.php
 Default completion for activity in a course updated event.
 
file  completion_regular_task.php
 A scheduled task.
 
file  component.php
 Components (core subsystems + plugins) related code.
 
file  component_generator_base.php
 Component generator base class.
 
file  component_named_replacement.php
 A class for recording the definition of Mink replacements.
 
file  component_named_selector.php
 Class representing a named selector that can be used in Behat tests.
 
file  componentlib.class.php
 This library includes all the necessary stuff to use the one-click download and install feature of Moodle, used to keep updated some items like languages, pear, enviroment...
 
file  config.php
 Cache configuration reader.
 
file  config_log_created.php
 Config log created.
 
file  configonlylib.php
 Minimalistic library, usable even when no other moodle libs are loaded.
 
file  constraint_object_is_equal_with_exceptions.php
 Constraint that checks a simple object with an isEqual constrain, allowing for exceptions to be made for some fields.
 
file  content_viewed.php
 Abstract event for content viewing.
 
file  context_cleanup_task.php
 A scheduled task.
 
file  convert_factory.class.php
 @subpackage backup-convert
 
file  convert_helper.class.php
 Provides } and convert_helper_exception classes.
 
file  convert_includes.php
 Makes sure that all general code needed by backup-convert code is included.
 
file  convertlib.php
 Provides base converter classes.
 
file  core_behat_file_helper.php
 Files interactions with behat.
 
file  core_media_player_native.php
 Test for core_media_player_native.
 
file  course_backup_created.php
 Course backup created event.
 
file  course_category_created.php
 Course category created event.
 
file  course_category_deleted.php
 Category deleted event.
 
file  course_category_updated.php
 Course category updated event.
 
file  course_category_viewed.php
 Course category viewed event.
 
file  course_completed.php
 Course completed event.
 
file  course_completion_updated.php
 Course module completion updated event.
 
file  course_content_deleted.php
 Course content deleted event.
 
file  course_created.php
 Course created event.
 
file  course_deleted.php
 Course deleted event.
 
file  course_information_viewed.php
 Course information viewed event.
 
file  course_module_completion_updated.php
 Course module completion event.
 
file  course_module_created.php
 Event to be triggered when a new course module is created.
 
file  course_module_deleted.php
 Event to be triggered when a new course module is deleted.
 
file  course_module_instance_list_viewed.php
 Course module instance list viewed event.
 
file  course_module_instances_list_viewed.php
 Course module instances list_viewed event.
 
file  course_module_updated.php
 Event to be triggered when a new course module is updated.
 
file  course_module_viewed.php
 Course module viewed event.
 
file  course_reset_ended.php
 The course reset ended event.
 
file  course_reset_started.php
 core course reset started event.
 
file  course_resources_list_viewed.php
 Event for viewing the list of course resources.
 
file  course_restored.php
 Course restored event.
 
file  course_section_created.php
 Course section created event.
 
file  course_section_deleted.php
 Course section deleted event.
 
file  course_section_updated.php
 Course section updated event.
 
file  course_updated.php
 Course updated event.
 
file  course_user_report_viewed.php
 Course user report viewed event.
 
file  course_viewed.php
 Course viewed event.
 
file  coursecat_summary_exporter.php
 Class for exporting summary information for a course category.
 
file  coursecatlib.php
 Deprecated file, classes moved to autoloaded locations.
 
file  coursereport.php
 Defines classes used for plugin info.
 
file  courses.php
 Courses analyser working at course level (insights for the course teachers).
 
file  courses.php
 This file defines settingpages and externalpages under the "courses" category.
 
file  courses_searched.php
 Courses searched event.
 
file  coverage.php
 Coverage information for the core subsystem.
 
file  coverage.php
 Coverage information for the tool_dataprivacy plugin.
 
file  coverage_info.php
 Coverage information for PHPUnit.
 
file  create_contexts_task.php
 Scheduled task class.
 
file  criteria_form.php
 Form classes for editing badges criteria.
 
file  cronlib.php
 Cron functions.
 
file  css.php
 This script prints basic CSS for the installer.
 
file  csslib.php
 This file contains CSS file serving functions.
 
file  cssparser.php
 Moodle implementation of CSS parsing.
 
file  csvlib.class.php
 This is a one-line short description of the file.
 
file  curl_security_helper.php
 Contains a class providing functions used to check the host/port black/whitelists for curl.
 
file  curl_security_helper_base.php
 Contains an abstract base class definition for curl security helpers.
 
file  customcheckslib.php
 This is a place to put custom environment checks, if there is not a better place.
 
file  customfield.php
 Defines classes used for plugin info.
 
file  dashboard_reset.php
 Dashboard reset event.
 
file  dashboard_viewed.php
 Dashboard viewed event.
 
file  dashboards_reset.php
 Dashboards reset event.
 
file  data_generator.php
 Data generator.
 
file  database.php
 Database based session handler.
 
file  database_driver_testcase.php
 Database driver test case.
 
file  database_logger.php
 Database logger for task logging.
 
file  database_text_field_content_replaced.php
 The database text field content replaced event.
 
file  dataformat.php
 Defines classes used for plugin info.
 
file  dataformatlib.php
 dataformatlib.php - Contains core dataformat related functions.
 
file  datalib.php
 Library of functions for database manipulation.
 
file  date.php
 Core date and time related code.
 
file  db_record_lock_factory.php
 This is a db record locking factory.
 
file  db_updater.php
 Progress handler that updates a database table with the progress.
 
file  ddllib.php
 This library includes all the required functions used to handle the DB structure (DDL) independently of the underlying RDBMS in use.
 
file  deciles.php
 10 parts time splitting method.
 
file  deciles_accum.php
 Range processor splitting the course in ten parts and accumulating data.
 
file  definition.php
 Cache definition class.
 
file  delete_incomplete_users_task.php
 A scheduled task.
 
file  delete_unconfirmed_users_task.php
 Scheduled task abstract class.
 
file  deprecatedlib.php
 deprecatedlib.php - Old functions retained only for backward compatibility
 
file  disabledlib.php
 This file contains classes that are used by the Cache API only when it is disabled.
 
file  dmllib.php
 This library contains all the Data Manipulation Language (DML) functions used to interact with the DB.
 
file  dnduploadlib.php
 Library to handle drag and drop course uploads.
 
file  dtllib.php
 DTL == Database Transfer Library.
 
file  dummy_manager.php
 Dummy storage manager, returns nothing.
 
file  dummystore.php
 Cache dummy store.
 
file  editor.php
 Defines classes used for plugin info.
 
file  editorlib.php
 Utility classes and functions for text editor integration.
 
file  email_failed.php
 Email failed event.
 
file  endorsement_form.php
 Form endorsement for editing.
 
file  endpoint.php
 Class for loading/storing oauth2 endpoints from the DB.
 
file  enrol.php
 Defines classes used for plugin info.
 
file  enrol_instance_created.php
 Enrol instance created event.
 
file  enrol_instance_deleted.php
 Enrol instance deleted event.
 
file  enrol_instance_updated.php
 Enrol instance updated event.
 
file  enrollib.php
 This library includes the basic parts of enrol api.
 
file  environmentlib.php
 This library includes all the necessary stuff to execute some standard tests of required versions and libraries to run Moodle.
 
file  event_course_module_instance_list_viewed.php
 Tests for base course module instance list viewed event.
 
file  event_course_module_viewed.php
 Tests for base course module viewed event.
 
file  event_mock.php
 Event mock.
 
file  event_sink.php
 Event sink.
 
file  events.php
 Definition of core event observers.
 
file  exact_named_selector.php
 Moodle-specific named exact selectors.
 
file  excellib.class.php
 Excel writer abstraction layer.
 
file  exception.php
 Session exception.
 
file  exporter.php
 Generic exporter to take a stdClass and prepare it for return by webservice.
 
file  external.php
 This class contains a list of webservice functions related to session.
 
file  external.php
 Mustache helper to load strings from string_manager.
 
file  external_badge.php
 External badge renderable.
 
file  factory.php
 This file contains the cache factory class.
 
file  file.php
 File based session handler.
 
file  file_lock_factory.php
 Flock based file locking factory.
 
file  file_temp_cleanup_task.php
 A scheduled task.
 
file  file_trash_cleanup_task.php
 A scheduled task.
 
file  fileconverter.php
 Defines classes used for plugin info.
 
file  filetypes.php
 Class to manage the custom filetypes list that is stored in a config variable.
 
file  filter.php
 Defines classes used for plugin info.
 
file  filterlib.php
 Library functions for managing text filter plugins.
 
file  flickrclient.php
 Provides flickr_client class.
 
file  forgot_password_form.php
 Forgot password page.
 
file  format.php
 Defines classes used for plugin info.
 
file  forms.php
 Forms used for the administration and managemement of the cache setup.
 
file  gdlib.php
 gdlib.php - Collection of routines in Moodle related to processing images using GD
 
file  general.php
 Defines classes used for plugin info.
 
file  geopattern.php
 Geopatterns for images.
 
file  get_user_capability_course_helper.php
 Helper functions to implement the complex get_user_capability_course function.
 
file  googleapi.php
 Simple implementation of some Google API functions for Moodle.
 
file  grade_cron_task.php
 A scheduled task.
 
file  grade_deleted.php
 Grade deleted event.
 
file  grade_exported.php
 Grade report viewed event.
 
file  grade_history_cleanup_task.php
 A scheduled task.
 
file  grade_item_created.php
 Grade item created event.
 
file  grade_item_updated.php
 Grade item updated event.
 
file  grade_letter_created.php
 Grade letter created event.
 
file  grade_letter_deleted.php
 Grade letter deleted event.
 
file  grade_letter_updated.php
 Grade letter updated event.
 
file  grade_report_viewed.php
 Grade report viewed event.
 
file  gradeexport.php
 Defines classes used for plugin info.
 
file  gradeimport.php
 Defines classes used for plugin info.
 
file  gradereport.php
 Defines classes used for plugin info.
 
file  gradingform.php
 Defines classes used for plugin info.
 
file  group_created.php
 Group created event.
 
file  group_deleted.php
 Group deleted event.
 
file  group_member_added.php
 Group member added event.
 
file  group_member_removed.php
 Group member removed event.
 
file  group_message_sent.php
 Group message sent event.
 
file  grouping_deleted.php
 Grouping deleted event.
 
file  grouping_group_assigned.php
 Group assigned to grouping event.
 
file  grouping_group_unassigned.php
 Group unassigned from grouping event.
 
file  grouping_updated.php
 Grouping updated event.
 
file  h5p_deleted.php
 H5P deleted event class.
 
file  h5p_get_content_types_task.php
 Task to get the latest content types from the official H5P repository.
 
file  h5p_viewed.php
 H5P viewed event class.
 
file  handler.php
 Session handler base.
 
file  helper.php
 Cache helper class.
 
file  hint_resultprinter.php
 Helper test listener.
 
file  icon_system.php
 Contains class core\output\icon_system.
 
file  icon_system_font.php
 Contains class core\output\icon_system.
 
file  icon_system_fontawesome.php
 Contains class core\output\icon_system.
 
file  icon_system_standard.php
 Contains class core\output\icon_system_standard.
 
file  info.php
 Defines classes used for updates.
 
file  inplace_editable.php
 Contains class core\output\inplace_editable.
 
file  installation_lock_factory.php
 Lock factory for use during installation.
 
file  installlib.php
 Functions to support installation process.
 
file  interfaces.php
 Cache API interfaces.
 
file  invalid_persistent_exception.php
 Invalid persistent exception.
 
file  ip_utils.php
 Contains a simple class providing some useful internet protocol-related functions.
 
file  issued_badge.php
 Issued badge renderable.
 
file  issuer.php
 Class for loading/storing issuers from the DB.
 
file  legacy_logged.php
 Legacy log emulation event class.
 
file  legacy_plugin_cron_task.php
 Scheduled task class.
 
file  lib.php
 mod_chat data generator.
 
file  lib.php
 Login library file of login/password related Moodle functions.
 
file  lib.php
 Testing general functions.
 
file  lib.php
 Adds data generator support.
 
file  lib.php
 Moodle PHPUnit integration.
 
file  lib.php
 Behat basic functions.
 
file  lib.php
 IP Lookup utility functions.
 
file  lib.php
 Functions and classes for commenting.
 
file  licenselib.php
 A namespace contains license specific functions.
 
file  list_element.php
 Contains class core_course_list_element.
 
file  listlib.php
 Classes for displaying and editing a nested list of items.
 
file  load_fontawesome_map.php
 A web service to load the mapping of moodle pix names to fontawesome icon names.
 
file  loaders.php
 Cache loaders.
 
file  local.php
 Defines classes used for plugin info.
 
file  local_settings_form.php
 A Moodle form base class for editing local filter settings.
 
file  locallib.php
 Functions and classes for comments management.
 
file  locallib.php
 The supplementary cache API.
 
file  location.php
 Define administration settings on the Location settings page.
 
file  lock.php
 Class representing a lock.
 
file  lock_config.php
 Lock configuration class, used to get an instance of the currently configured lock factory.
 
file  lock_factory.php
 Defines abstract factory class for generating locks.
 
file  log.php
 Definition of log events associated with the current component.
 
file  logging_trait.php
 This file defines a trait to assist with logging in tasks.
 
file  logmanager.php
 Task log manager.
 
file  manager.php
 Scheduled and adhoc task management.
 
file  manager.php
 Session manager class.
 
file  manager.php
 Log storage manager interface.
 
file  manager.php
 New event manager class.
 
file  mathslib.php
 @subpackage lib
 
file  media.php
 Defines classes used for plugin info.
 
file  memcached.php
 Memcached based session handler.
 
file  message.php
 Defines classes used for plugin info.
 
file  message.php
 Form class for badge message.
 
file  message_contact_added.php
 Message contact added event.
 
file  message_contact_blocked.php
 Message contact blocked event.
 
file  message_contact_removed.php
 Message contact removed event.
 
file  message_contact_unblocked.php
 Message contact unblocked event.
 
file  message_deleted.php
 Message deleted event.
 
file  message_sent.php
 Message sent event.
 
file  message_sink.php
 Message sink.
 
file  message_user_blocked.php
 Message user blocked event.
 
file  message_user_unblocked.php
 Message users unblocked event.
 
file  message_viewed.php
 Message viewed event.
 
file  messages.php
 Defines message providers (types of messages being sent)
 
file  messaging_cleanup_task.php
 A scheduled task.
 
file  minify.php
 JS and CSS compression.
 
file  mlbackend.php
 Defines classes used for plugin info.
 
file  mnet_access_control_created.php
 Mnet access control created event.
 
file  mnet_access_control_updated.php
 Mnet access control updated event.
 
file  mnetservice.php
 Defines classes used for plugin info.
 
file  mod.php
 Defines classes used for plugin info.
 
file  modinfolib.php
 modinfolib.php - Functions/classes relating to cached information about module instances on a course.
 
file  module_generator.php
 Module generator base class.
 
file  moodlelib.php
 moodlelib.php - Moodle main library
 
file  moodleservices.php
 This file gives information about Moodle Services.
 
file  mustache_filesystem_loader.php
 Perform some custom name mapping for template file names (strip leading component/).
 
file  mustache_javascript_helper.php
 Mustache helper that will add JS to the end of the page.
 
file  mustache_pix_helper.php
 Mustache helper render pix icons.
 
file  mustache_quote_helper.php
 Wrap content in quotes, and escape all quotes used.
 
file  mustache_shorten_text_helper.php
 Mustache helper shorten text.
 
file  mustache_string_helper.php
 Mustache helper to load strings from string_manager.
 
file  mustache_template_finder.php
 List the valid locations to search for a template with a given name.
 
file  mustache_template_source_loader.php
 Load template source strings.
 
file  mustache_uniqid_helper.php
 Mustache helper that will add JS to the end of the page.
 
file  mustache_user_date_helper.php
 Mustache helper that will convert a timestamp to a date string.
 
file  myprofilelib.php
 Defines core nodes for my profile navigation tree.
 
file  named_selector.php
 Moodle-specific common functions for named selectors.
 
file  nasty_strings.php
 Nasty strings to use in tests.
 
file  navigationlib.php
 This file contains classes used to manage the navigation structures within Moodle.
 
file  no_splitting.php
 No time splitting method.
 
file  none.php
 Progress handler that ignores progress entirely.
 
file  note_created.php
 Event for when a new note entry is added.
 
file  note_deleted.php
 Event for when a new note entry deleted.
 
file  note_updated.php
 Event for when a new note entry is updated.
 
file  notes_viewed.php
 Event for when a new note entry viewed.
 
file  notification.php
 Notification renderable component.
 
file  notification.php
 User Alert notifications.
 
file  notification_sent.php
 Notification sent event.
 
file  notification_viewed.php
 Notification viewed event.
 
file  odslib.class.php
 ODS file writer.
 
file  orphaned.php
 Defines class used for orphaned subplugins.
 
file  outputactions.php
 Classes representing JS event handlers, used by output components.
 
file  outputcomponents.php
 Classes representing HTML elements, used by $OUTPUT methods.
 
file  outputfactories.php
 Interface and classes for creating appropriate renderers for various parts of Moodle.
 
file  outputfragmentrequirementslib.php
 Library functions to facilitate the use of JavaScript in Moodle.
 
file  outputlib.php
 Functions for generating the HTML that Moodle should output.
 
file  outputrenderers.php
 Classes for rendering HTML output for Moodle.
 
file  outputrequirementslib.php
 Library functions to facilitate the use of JavaScript in Moodle.
 
file  paged_content_exporter.php
 Paged Content exporter.
 
file  pagelib.php
 This file contains the moodle_page class.
 
file  partial_named_selector.php
 Moodle-specific selectors.
 
file  password_reset_cleanup_task.php
 A scheduled task.
 
file  peer_forms.php
 This file contains two forms for adding/editing mnet hosts, used by peers.php.
 
file  persistent.php
 Abstract class for objects saved to the DB.
 
file  persistent.php
 Persistent form abstract.
 
file  persistent_exporter.php
 Exporter based on persistent.
 
file  php_time_limit.php
 PHP time limit management.
 
file  phpmailer_sink.php
 phpmailer message sink.
 
file  phpminimumversionlib.php
 A set of PHP-compatible convenience functions to check Moodle minimum PHP version in a unified place.
 
file  plagiarism.php
 Defines classes used for plugin info.
 
file  plagiarism_cron_task.php
 A scheduled task.
 
file  plugin_manager.php
 Defines classes used for plugins management.
 
file  plugins.php
 Load all plugins into the admin tree.
 
file  portfolio.php
 Defines classes used for plugin info.
 
file  portfolio_cron_task.php
 A scheduled task.
 
file  postgres_lock_factory.php
 Postgres advisory locking factory.
 
file  preferences_form.php
 Form class for editing badges preferences.
 
file  profilefield.php
 Defines classes used for plugin info.
 
file  profilefields_form.php
 Allows the admin to configure a list of profile fields that are sent/recieved.
 
file  provider.php
 Privacy class for requesting user data.
 
file  purge_caches.php
 Form for selective purging of caches.
 
file  qbehaviour.php
 Defines classes used for plugin info.
 
file  qformat.php
 Defines classes used for plugin info.
 
file  qtype.php
 Defines classes used for plugin info.
 
file  quarters.php
 Quarters time splitting method.
 
file  quarters_accum.php
 Range processor splitting the course in quarters and accumulating data.
 
file  question_base.php
 Base class for question events.
 
file  question_category_base.php
 Base class for question category events.
 
file  question_category_created.php
 Question category created event.
 
file  question_category_deleted.php
 Question category deleted event.
 
file  question_category_moved.php
 Question category moved event.
 
file  question_category_updated.php
 Question category updated event.
 
file  question_category_viewed.php
 Question category viewed event.
 
file  question_created.php
 Question created event.
 
file  question_deleted.php
 Question deleted event.
 
file  question_manually_graded.php
 The mod_quiz question manually graded event.
 
file  question_moved.php
 Question moved event.
 
file  question_preview_cleanup_task.php
 Task to cleanup old question previews.
 
file  question_stats_cleanup_task.php
 Task to cleanup old question statistics cache.
 
file  question_updated.php
 Question updated event.
 
file  question_viewed.php
 Question previewed event.
 
file  questions_exported.php
 Questions exported event.
 
file  questions_imported.php
 Questions imported event.
 
file  read_actions.php
 Read actions indicator.
 
file  reader.php
 Log storage reader interface.
 
file  recaptchalib_v2.php
 This is a PHP library that handles calling reCAPTCHA v2.
 
file  recent_activity_viewed.php
 Event for recent activity page.
 
file  recordset_walk.php
 Applies the same callback to all recorset records.
 
file  redis.php
 Redis based session handler.
 
file  refresh_mod_calendar_events_task.php
 Adhoc task that updates all of the existing calendar events for modules that implement the *_refresh_events() hook.
 
file  refresh_system_tokens_task.php
 A scheduled task.
 
file  registration.php
 Class registration.
 
file  registration_cron_task.php
 A scheduled task.
 
file  related_form.php
 Form related badges.
 
file  renamedclasses.php
 This file contains mappings for classes that have been renamed so that they meet the requirements of the autoloader.
 
file  renderer.php
 Base renderer for outputting course formats.
 
file  renderer.php
 The Cache renderer.
 
file  renderer.php
 Renderer for use with the badges output.
 
file  renderer.php
 Renderer for core_admin subsystem.
 
file  report.php
 Defines classes used for plugin info.
 
file  repository.php
 Defines classes used for plugin info.
 
file  requirejs.php
 RequireJS helper functions.
 
file  reset_form.php
 Provides the course_reset_form class.
 
file  resourcelib.php
 Recourse module like helper functions.
 
file  rest.php
 Rest API base class mapping rest api methods to endpoints with http methods, args and post body.
 
file  rest_exception.php
 Rest Exception class containing error code and message.
 
file  restore_date_testcase.php
 Restore dates test case.
 
file  restored_password_form.php
 Magic that deals restored users without passwords.
 
file  role_allow_assign_updated.php
 Role assignments updated event.
 
file  role_allow_override_updated.php
 Role allow override updated event.
 
file  role_allow_switch_updated.php
 Role allow switch updated event.
 
file  role_allow_view_updated.php
 Role allow view updated event.
 
file  role_assigned.php
 Role assigned event.
 
file  role_capabilities_updated.php
 Role updated event.
 
file  role_deleted.php
 Role assigned event.
 
file  role_unassigned.php
 Role unassigned event.
 
file  role_updated.php
 Role updated event.
 
file  rtlcss.php
 Moodle implementation of RTLCSS.
 
file  scale_created.php
 Scale created event.
 
file  scale_deleted.php
 Scale deleted event.
 
file  scale_updated.php
 Scale updated event.
 
file  scheduled_task.php
 Scheduled task abstract class.
 
file  scss.php
 Moodle implementation of SCSS.
 
file  search.php
 Defines classes used for plugin info.
 
file  search_index_task.php
 A scheduled task for global search.
 
file  search_indexed.php
 Data indexed event.
 
file  search_optimize_task.php
 A scheduled task for global search.
 
file  search_results_viewed.php
 Search results viewed.
 
file  searchlib.php
 @subpackage search
 
 
file  send_new_user_passwords_task.php
 Scheduled task class.
 
file  service-nologin.php
 This file is used to call any registered externallib function in Moodle.
 
file  services_form.php
 The form for configuring which services are subscribed and published on a host.
 
file  session_cleanup_task.php
 Scheduled task abstract class.
 
file  sessionlib.php
 @subpackage session
 
file  set_password_form.php
 Set password form definition.
 
file  setuplib.php
 These functions are required very early in the Moodle setup process, before any of the main libraries are loaded.
 
file  shutdown_manager.php
 Shutdown management class.
 
file  signup_form.php
 User sign-up form.
 
file  single_range.php
 Single time splitting method.
 
file  site_courses.php
 Site courses analyser working at system level (insights for the site admin).
 
file  site_registration_form.php
 Class site_registration_form.
 
file  soaplib.php
 Web services wrapper library script.
 
file  spout_base.php
 Common Spout class for dataformat.
 
file  sql_internal_table_reader.php
 Log storage sql internal table reader interface.
 
file  sql_join.php
 An object that contains sql join fragments.
 
file  sql_reader.php
 Log iterator reader interface.
 
file  stats_cron_task.php
 A scheduled task.
 
file  statslib.php
 @subpackage stats
 
file  store.php
 Cache store - base class.
 
file  string_manager.php
 String manager interface.
 
file  string_manager_install.php
 Installation time string manager.
 
file  string_manager_standard.php
 Standard string manager.
 
file  student_enrolments.php
 Student enrolments analyser.
 
 
file  table.php
 Helpers and methods relating to DML tables.
 
file  tablelib.php
 @subpackage lib
 
file  tabs.php
 Tabs to be included on the pages for configuring a single host $mnet_peer object must be set and bootstrapped $currenttab string must be set.
 
file  tag.php
 Tag area definitions.
 
file  tag_added.php
 The tag added event.
 
file  tag_collection_created.php
 Tag collection created event.
 
file  tag_collection_deleted.php
 Tag collection deleted event.
 
file  tag_collection_updated.php
 Tag collection updated event.
 
file  tag_created.php
 Tag created event.
 
file  tag_cron_task.php
 A scheduled task.
 
file  tag_deleted.php
 Tag deleted event.
 
file  tag_flagged.php
 Tag flagged event.
 
file  tag_removed.php
 The tag removed event.
 
file  tag_unflagged.php
 Tag unflagged event.
 
file  tag_updated.php
 Tag updated event.
 
file  task_base.php
 Abstract class for common properties of scheduled_task and adhoc_task.
 
file  task_log_cleanup_task.php
 Task to cleanup task logs.
 
file  task_logger.php
 Interface for task logging.
 
file  tasks.php
 Definition of core scheduled tasks.
 
file  tasks.php
 Definition of core scheduled tasks.
 
file  test_lock.php
 Tests lock.
 
file  testoutgoingmailconf_form.php
 Testing outgoing mail configuration form.
 
file  tests_finder.php
 Tests finder.
 
file  text.php
 Defines string apis.
 
file  theme.php
 Defines classes used for plugin info.
 
file  tool.php
 Defines classes used for plugin info.
 
file  unknown_logged.php
 Unknown event.
 
file  upcoming_activities_due.php
 Upcoming activities due target.
 
file  uploadlib.php
 uploadlib.php - This class handles all aspects of fileuploading
 
file  url_rewriter.php
 URL rewriter base.
 
file  user.php
 User class.
 
file  user_bulk_cohortadd_form.php
 form for bulk user multi cohort add
 
file  user_created.php
 User created event.
 
file  user_deleted.php
 User deleted event.
 
file  user_enrolment_created.php
 User enrolment created event.
 
file  user_enrolment_deleted.php
 User enrolment deleted event.
 
file  user_enrolment_updated.php
 User enrolment updated event.
 
file  user_field_mapping.php
 Class for loading/storing oauth2 endpoints from the DB.
 
file  user_graded.php
 Grade edited event.
 
file  user_info_category_created.php
 User profile field created event.
 
file  user_info_category_deleted.php
 User profile field deleted event.
 
file  user_info_category_updated.php
 User profile field updated event.
 
file  user_info_field_created.php
 User profile field created event.
 
file  user_info_field_deleted.php
 User profile info field deleted event.
 
file  user_info_field_updated.php
 User profile info field updated event.
 
file  user_list_viewed.php
 Defines the user list viewed event.
 
file  user_loggedin.php
 User login event.
 
file  user_loggedinas.php
 User loggedinas event.
 
file  user_loggedout.php
 User logout event.
 
 
file  user_password_updated.php
 User password updated event.
 
file  user_profile_viewed.php
 The user profile viewed event.
 
file  user_updated.php
 User updated event.
 
file  useragent.php
 Environment class to aid with the detection and establishment of the working environment.
 
file  users.php
 Users analyser (insights for users).
 
file  util.php
 Testing util classes.
 
file  util.php
 Utility class.
 
file  util.php
 PayPal enrolment plugin utility class.
 
file  util.php
 Utils for behat-related stuff.
 
file  uuid.php
 V4 UUID generator.
 
file  weblib.php
 Library of functions for web output.
 
file  webservice.php
 Defines classes used for plugin info.
 
file  webservice_function_called.php
 Web service function called event.
 
 
file  webservice_service_created.php
 Web service service created event.
 
file  webservice_service_deleted.php
 Web service service deleted event.
 
file  webservice_service_updated.php
 Web service service updated event.
 
file  webservice_service_user_added.php
 Web service service user added event.
 
file  webservice_service_user_removed.php
 Web service service user removed event.
 
file  webservice_token_created.php
 Web service token created event.
 
file  webservice_token_sent.php
 Webservice token_sent event.
 
file  wiki_to_markdown.php
 Utility function to convert wiki-like to Markdown format.
 
file  xmlize.php
 Code for parsing xml files.
 

Namespaces

 core
  
 
 core\access
  
 
 core\analytics\analyser
  
 
 core\analytics\indicator
  
 
 core\analytics\time_splitting
  
 
 core\dataformat
  
 
 core\dml
  
 
 core\event
  
 
 core\external
  
 
 core\external\output\icon_system
  
 
 core\files
  
 
 core\form
  
 
 core\hub
  
 
 core\lock
  
 
 core\log
  
 
 core\oauth2
  
 
 core\output
  
 
 core\plugininfo
  
 
 core\privacy
  
 
 core\progress
  
 
 core\session
  
 
 core\task
  
 
 core\update
  
 
 core\upgrade
  
 
 core_admin\form
  
 
 core_badges
  
 
 core_badges\form
  
 
 core_badges\output
  
 
 core_course\analytics\indicator
  
 
 core_h5p\event
  
 
 core_question\statistics\questions
  
 
 core_user\analytics\target
  
 
 logstore_legacy\event
  
 
 mod_quiz\event
  
 

Classes

class  action_link
 
class  action_menu
 
class  action_menu_filler
 
class  action_menu_link
 
class  action_menu_link_primary
 
class  action_menu_link_secondary
 
class  admin_category
 The object used to represent folders (a.k.a. More...
 
class  admin_externalpage
 Links external PHP pages into the admin tree. More...
 
class  admin_page_defaultmessageoutputs
 Default message outputs configuration. More...
 
class  admin_page_manageblocks
 Blocks manage page. More...
 
class  admin_page_managefilters
 Special class for filter administration. More...
 
class  admin_page_managemessageoutputs
 Message outputs configuration. More...
 
class  admin_page_managemods
 Module manage page. More...
 
class  admin_page_manageportfolios
 
class  admin_page_manageqbehaviours
 Manage question behaviours page. More...
 
class  admin_page_manageqtypes
 Question type manage page. More...
 
class  admin_page_managerepositories
 
class  admin_page_pluginsoverview
 General plugins manager. More...
 
class  admin_root
 Root of admin settings tree, does not have any parent. More...
 
class  admin_setting
 Admin settings class. More...
 
class  admin_setting_agedigitalconsentmap
 Used to validate the content and format of the age of digital consent map and ensuring it is parsable. More...
 
class  admin_setting_bloglevel
 Select for blog's bloglevel setting: if set to 0, will set blog_menu block to hidden. More...
 
class  admin_setting_configcheckbox
 Checkbox. More...
 
class  admin_setting_configcheckbox_with_advanced
 Checkbox with an advanced checkbox that controls an additional $name. More...
 
class  admin_setting_configcheckbox_with_lock
 Checkbox with an advanced checkbox that controls an additional $name. More...
 
class  admin_setting_configcolourpicker
 Colour picker. More...
 
class  admin_setting_configdirectory
 Path to directory. More...
 
class  admin_setting_configduration
 Seconds duration setting. More...
 
class  admin_setting_configduration_with_advanced
 Seconds duration setting with an advanced checkbox, that controls a additional $name. More...
 
class  admin_setting_configempty
 Empty setting used to allow flags (advanced) on settings that can have no sensible default. More...
 
class  admin_setting_configexecutable
 Path to executable file. More...
 
class  admin_setting_configfile
 Path to directory. More...
 
class  admin_setting_confightmleditor
 General text area with html editor. More...
 
class  admin_setting_configiplist
 Used to validate a textarea used for ip addresses. More...
 
class  admin_setting_configmixedhostiplist
 Used to validate a textarea used for domain names, wildcard domain names and IP addresses/ranges (both IPv4 and IPv6 format). More...
 
class  admin_setting_configmulticheckbox
 Multiple checkboxes, each represents different value, stored in csv format. More...
 
class  admin_setting_configmulticheckbox2
 Multiple checkboxes 2, value stored as string 00101011. More...
 
class  admin_setting_configmultiselect
 Select multiple items from list. More...
 
class  admin_setting_configmultiselect_modules
 Multiselect for current modules. More...
 
class  admin_setting_configpasswordunmask
 Password field, allows unmasking of password. More...
 
class  admin_setting_configpasswordunmask_with_advanced
 Password field, allows unmasking of password, with an advanced checkbox that controls an additional $name. More...
 
class  admin_setting_configportlist
 Used to validate a textarea used for port numbers. More...
 
class  admin_setting_configselect
 Select one value from list. More...
 
class  admin_setting_configselect_with_advanced
 Dropdown menu with an advanced checkbox, that controls a additional $name. More...
 
class  admin_setting_configselect_with_lock
 Select with an advanced checkbox that controls an additional $name. More...
 
class  admin_setting_configstoredfile
 Class used for uploading of one file into file storage, the file name is stored in config table. More...
 
class  admin_setting_configtext
 The most flexible setting, the user enters text. More...
 
class  admin_setting_configtext_with_advanced
 Text field with an advanced checkbox, that controls a additional $name. More...
 
class  admin_setting_configtext_with_maxlength
 Text input with a maximum length constraint. More...
 
class  admin_setting_configtextarea
 General text area without html editor. More...
 
class  admin_setting_configtime
 Time selector. More...
 
class  admin_setting_countrycodes
 
class  admin_setting_courselist_frontpage
 Special select - lists on the frontpage - hacky. More...
 
class  admin_setting_description
 No setting - just name and description in same row. More...
 
class  admin_setting_devicedetectregex
 Administration interface for user specified regular expressions for device detection. More...
 
class  admin_setting_emoticons
 Administration interface for emoticon_manager settings. More...
 
class  admin_setting_enablemobileservice
 Special checkbox for enable mobile web service If enable then we store the service id of the mobile service into config table If disable then we unstore the service id from the config table. More...
 
class  admin_setting_filetypes
 Administration setting to define a list of file types. More...
 
class  admin_setting_flag
 An additional option that can be applied to an admin setting. More...
 
class  admin_setting_forcetimezone
 Forced user timezone setting. More...
 
class  admin_setting_grade_profilereport
 Selection of grade report in user profiles. More...
 
class  admin_setting_gradecat_combo
 Grade category settings. More...
 
class  admin_setting_heading
 No setting - just heading and text. More...
 
class  admin_setting_langlist
 Special setting for limiting of the list of available languages. More...
 
class  admin_setting_manage_fileconverter_plugins
 Generic class for managing plugins in a table that allows re-ordering and enable/disable of each plugin. More...
 
class  admin_setting_manage_plugins
 Generic class for managing plugins in a table that allows re-ordering and enable/disable of each plugin. More...
 
class  admin_setting_manageantiviruses
 Special class for antiviruses administration. More...
 
class  admin_setting_manageauths
 Special class for authentication administration. More...
 
class  admin_setting_managecustomfields
 Custom fields manager. More...
 
class  admin_setting_managedataformats
 Data formats manager. More...
 
class  admin_setting_manageeditors
 Special class for authentication administration. More...
 
class  admin_setting_manageenrols
 Special class for enrol plugins management. More...
 
class  admin_setting_manageexternalservices
 Special class for management of external services. More...
 
class  admin_setting_manageformats
 Course formats manager. More...
 
class  admin_setting_managelicenses
 Special class for license administration. More...
 
class  admin_setting_managemediaplayers
 Special class for media player plugins management. More...
 
class  admin_setting_managerepository
 Manage repository settings. More...
 
class  admin_setting_managewebserviceprotocols
 Special class for web service protocol administration. More...
 
class  admin_setting_managewebservicetokens
 Special class for web service token administration. More...
 
class  admin_setting_my_grades_report
 Provides a selection of grade reports to be used for "grades". More...
 
class  admin_setting_php_extension_enabled
 Admin setting to show if a php extension is enabled or not. More...
 
class  admin_setting_pickfilters
 Admin setting that is a list of installed filter plugins. More...
 
class  admin_setting_pickroles
 Admin setting that allows a user to pick appropriate roles for something. More...
 
class  admin_setting_question_behaviour
 Admin setting that allows a user to pick a behaviour. More...
 
class  admin_setting_regradingcheckbox
 
class  admin_setting_scsscode
 Used to validate the contents of SCSS code and ensuring they are parsable. More...
 
class  admin_setting_searchsetupinfo
 Search setup steps info. More...
 
class  admin_setting_servertimezone
 Server timezone setting. More...
 
class  admin_setting_sitesetcheckbox
 Special checkbox for frontpage - stores data in course table. More...
 
class  admin_setting_sitesetselect
 Special select for frontpage - stores data in course table. More...
 
class  admin_setting_sitesettext
 Special text for frontpage - stores data in course table. More...
 
class  admin_setting_special_adminseesall
 Special checkbox for calendar - resets SESSION vars. More...
 
class  admin_setting_special_backup_auto_destination
 Special setting for backup auto destination. More...
 
class  admin_setting_special_backupdays
 Special control for selecting days to backup. More...
 
class  admin_setting_special_calendar_weekend
 Special admin control. More...
 
class  admin_setting_special_coursecontact
 Which roles to show on course description page. More...
 
class  admin_setting_special_debug
 Special debug setting. More...
 
class  admin_setting_special_frontpagedesc
 Special text editor for site description. More...
 
class  admin_setting_special_gradebookroles
 Graded roles in gradebook. More...
 
class  admin_setting_special_gradeexport
 Primary grade export plugin - has state tracking. More...
 
class  admin_setting_special_gradelimiting
 
class  admin_setting_special_grademinmaxtouse
 Special setting for $CFG->grade_minmaxtouse. More...
 
class  admin_setting_special_gradepointdefault
 A setting for setting the default grade point value. More...
 
class  admin_setting_special_gradepointmax
 A setting for setting the maximum grade value. More...
 
class  admin_setting_special_registerauth
 Special class for register auth selection. More...
 
class  admin_setting_special_selectsetup
 Special select for settings that are altered in setup.php and can not be altered on the fly. More...
 
class  admin_setting_users_with_capability
 An admin setting for selecting one or more users who have a capability in the system context. More...
 
class  admin_setting_webservicesoverview
 Special class for overview of external services. More...
 
class  admin_settingdependency
 Used to store details of the dependency between two settings elements. More...
 
class  admin_settingpage
 Used to group a number of admin_setting objects into a page and add them to the admin tree. More...
 
class  admin_settings_country_select
 Selection of one of the recognised countries using the list returned by get_list_of_countries(). More...
 
class  admin_settings_coursecat_select
 Course category selection. More...
 
class  admin_settings_num_course_sections
 admin_setting_configselect for the default number of sections in a course, simply so we can lazy-load the choices. More...
 
class  admin_settings_sitepolicy_handler_select
 Selection of plugins that can work as site policy handlers. More...
 
class  advanced_testcase
 
class  alignment_form
 Form to edit alignment. More...
 
class  async_helper
 Helper functions for asynchronous backups and restores. More...
 
class  auth_plugin_base
 Abstract authentication plugin. More...
 
class  award_criteria
 Award criteria abstract definition. More...
 
class  award_criteria_activity
 Badge award criteria – award on activity completion. More...
 
class  award_criteria_badge
 Badge award criteria – award on badge completion. More...
 
class  award_criteria_cohort
 Badge award criteria – award on cohort membership. More...
 
class  award_criteria_competency
 Badge award criteria – award on competency completion. More...
 
class  award_criteria_course
 Badge award criteria – award on course completion. More...
 
class  award_criteria_courseset
 Badge award criteria – award on courseset completion. More...
 
class  award_criteria_manual
 Manual badge award criteria. More...
 
class  award_criteria_overall
 Overall badge award criteria. More...
 
class  award_criteria_profile
 Profile completion badge award criteria. More...
 
class  backup_cron_automated_helper
 This class is an abstract class with methods that can be called to aid the running of automated backups over cron. More...
 
class  badge_award_selector_base
 
class  badge_existing_users_selector
 A user selector control for existing users to award badge. More...
 
class  badge_potential_users_selector
 A user selector control for potential users to award badge. More...
 
class  badges_preferences_form
 
class  base_converter
 Base converter class. More...
 
class  base_testcase
 
class  basic_testcase
 
class  behat_action_menu
 
class  behat_app
 
class  behat_base
 
class  behat_command
 
class  behat_component_named_replacement
 
class  behat_component_named_selector
 
class  behat_config_manager
 
class  behat_config_util
 Behat configuration manager. More...
 
class  behat_context_helper
 
class  behat_core_generator
 
class  behat_data_generators
 
class  behat_deprecated
 
class  behat_exact_named_selector
 Moodle selectors manager. More...
 
class  behat_field_manager
 
class  behat_filters
 
class  behat_forms
 
class  behat_general
 
class  behat_generator_base
 
class  behat_init_context
 
class  behat_login
 
class  behat_navigation
 
class  behat_partial_named_selector
 
class  behat_permissions
 
class  behat_selectors
 
class  behat_transformations
 
class  behat_util
 
class  block_contents
 
class  block_manager
 This class keeps track of the block that should appear on a moodle_page. More...
 
class  block_move_target
 
class  block_not_on_page_exception
 Exception thrown when someone tried to do something with a block that does not exist on a page. More...
 
class  bootstrap_renderer
 This class solves the problem of how to initialise $OUTPUT. More...
 
class  boxclient
 
class  boxnet_client
 Box.net client class. More...
 
class  breadcrumb_navigation_node
 
class  cache
 
class  cache_application
 An application cache. More...
 
class  cache_config
 
class  cache_config_disabled
 The cache config class used when the Cache has been disabled. More...
 
interface  cache_data_source
 
class  cache_definition
 
class  cache_definition_mappings_form
 
class  cache_definition_sharing_form
 
class  cache_disabled
 Required as it is needed for cache_config_disabled which extends cache_config_writer. More...
 
class  cache_factory
 The cache factory class. More...
 
class  cache_factory_disabled
 The cache factory class used when the Cache has been disabled. More...
 
class  cache_helper
 
interface  cache_is_configurable
 Cache store feature: configurable. More...
 
interface  cache_is_key_aware
 Cache store feature: key awareness. More...
 
interface  cache_is_lockable
 Cache store feature: locking. More...
 
interface  cache_is_searchable
 Cache store feature: keys are searchable. More...
 
interface  cache_loader
 Cache Loader. More...
 
interface  cache_loader_with_locking
 Cache Loader supporting locking. More...
 
class  cache_lock_form
 
interface  cache_lock_interface
 Cache lock interface. More...
 
class  cache_mode_mappings_form
 
class  cache_request
 An request cache. More...
 
class  cache_session
 A session cache. More...
 
class  cache_store
 
interface  cache_store_interface
 
interface  cacheable_object
 Cacheable object. More...
 
class  cached_cm_info
 Class that is the return value for the _get_coursemodule_info module API function. More...
 
class  cachestore_addinstance_form
 
class  cachestore_dummy
 The cache dummy store. More...
 
class  calc_formula
 This class abstracts evaluation of spreadsheet formulas. More...
 
class  cm_info
 
class  coding_exception
 Exception indicating programming error, must be fixed by a programer. More...
 
class  combined_progress_trace
 Special type of trace that can be used for redirecting to multiple other traces. More...
 
class  comment
 
class  comment_exception
 Comment exception class. More...
 
class  comment_manager
 comment_manager is helper class to manage moodle comments in admin page (Reports->Comments) More...
 
class  component_action
 
class  component_generator_base
 Component generator base class. More...
 
class  component_installer
 This class is used to check, download and install items from download.moodle.org to the moodledata directory. More...
 
class  confirm_action
 
class  context_header
 
class  convert_exception
 General convert-related exception. More...
 
class  convert_factory
 Factory class to create new instances of backup converters. More...
 
class  convert_helper
 Provides various functionality via its static methods. More...
 
class  convert_helper_exception
 General convert_helper related exception. More...
 
class  core\access\get_user_capability_course_helper
 Helper functions to implement the complex get_user_capability_course function. More...
 
class  core\analytics\analyser\courses
 Courses analyser working at course level (insights for the course teachers). More...
 
class  core\analytics\analyser\site_courses
 Site courses analyser working at system level (insights for the site admin). More...
 
class  core\analytics\analyser\student_enrolments
 Student enrolments analyser. More...
 
class  core\analytics\analyser\users
 Users analyser (insights for users). More...
 
class  core\analytics\indicator\any_access_after_end
 Any access after the official end of the course. More...
 
class  core\analytics\indicator\any_access_before_start
 Any access before the official start of the course. More...
 
class  core\analytics\indicator\any_course_access
 Any access indicator. More...
 
class  core\analytics\indicator\any_write_action
 Write actions indicator. More...
 
class  core\analytics\indicator\any_write_action_in_course
 Write actions in a course indicator. More...
 
class  core\analytics\indicator\read_actions
 Read actions indicator. More...
 
class  core\analytics\time_splitting\deciles
 10 parts time splitting method. More...
 
class  core\analytics\time_splitting\deciles_accum
 Range processor splitting the course in ten parts and accumulating data. More...
 
class  core\analytics\time_splitting\no_splitting
 No time splitting method. More...
 
class  core\analytics\time_splitting\quarters
 Quarters time splitting method. More...
 
class  core\analytics\time_splitting\quarters_accum
 Range processor splitting the course in quarters and accumulating data. More...
 
class  core\analytics\time_splitting\single_range
 Single time splitting method. More...
 
class  core\antivirus\scanner
 Base abstract antivirus scanner class. More...
 
class  core\antivirus\scanner_exception
 An antivirus scanner exception class. More...
 
class  core\chart_axis
 Chart axis class. More...
 
class  core\chart_bar
 Chart bar class. More...
 
class  core\chart_base
 Chart base class. More...
 
class  core\chart_line
 Chart line class. More...
 
class  core\chart_pie
 Chart pie class. More...
 
class  core\chart_series
 Chart series class. More...
 
class  core\dataformat\base
 Base class for dataformat. More...
 
class  core\dataformat\spout_base
 Common Spout class for dataformat. More...
 
class  core\dml\recordset_walk
 
class  core\dml\sql_join
 
class  core\dml\table
 Helpers and methods relating to DML tables. More...
 
class  core\event\assessable_submitted
 Abstract assessable submitted event class. More...
 
class  core\event\assessable_uploaded
 
class  core\event\badge_archived
 Event triggered after a badge is archived. More...
 
class  core\event\badge_awarded
 Event triggered after a badge is awarded to a user. More...
 
class  core\event\badge_created
 Event triggered after a badge is created. More...
 
class  core\event\badge_criteria_created
 
class  core\event\badge_criteria_deleted
 
class  core\event\badge_criteria_updated
 
class  core\event\badge_deleted
 Event triggered after a badge is deleted. More...
 
class  core\event\badge_disabled
 Event triggered after a badge is disabled. More...
 
class  core\event\badge_duplicated
 Event triggered after a badge is duplicated. More...
 
class  core\event\badge_enabled
 Event triggered after a badge is enabled. More...
 
class  core\event\badge_listing_viewed
 
class  core\event\badge_revoked
 Event triggered after a badge is revoked from a user. More...
 
class  core\event\badge_updated
 Event triggered after a badge is updated. More...
 
class  core\event\badge_viewed
 
class  core\event\base
 
class  core\event\blog_association_created
 
class  core\event\blog_association_deleted
 
class  core\event\blog_comment_created
 The blog comment created event class. More...
 
class  core\event\blog_comment_deleted
 The blog comment deleted event class. More...
 
class  core\event\blog_entries_viewed
 
class  core\event\blog_entry_created
 Class blog_entry_created. More...
 
class  core\event\blog_entry_deleted
 Class blog_entry_deleted. More...
 
class  core\event\blog_entry_updated
 Class blog_entry_updated. More...
 
class  core\event\blog_external_added
 
class  core\event\blog_external_removed
 Class for event to be triggered when an external blog is removed from moodle. More...
 
class  core\event\blog_external_updated
 
class  core\event\blog_external_viewed
 
class  core\event\calendar_event_created
 
class  core\event\calendar_event_deleted
 
class  core\event\calendar_event_updated
 
class  core\event\calendar_subscription_created
 
class  core\event\calendar_subscription_deleted
 
class  core\event\calendar_subscription_updated
 
class  core\event\capability_assigned
 Capability assigned event class. More...
 
class  core\event\capability_unassigned
 Capability unassigned event class. More...
 
class  core\event\cohort_created
 Cohort created event class. More...
 
class  core\event\cohort_deleted
 Cohort deleted event class. More...
 
class  core\event\cohort_member_added
 User added to a cohort event class. More...
 
class  core\event\cohort_member_removed
 User removed from a cohort event class. More...
 
class  core\event\cohort_updated
 Cohort updated event class. More...
 
class  core\event\comment_created
 
class  core\event\comment_deleted
 
class  core\event\comments_viewed
 Abstract comments viewed event class. More...
 
class  core\event\completion_defaults_updated
 Default completion for activity in a course updated event. More...
 
class  core\event\config_log_created
 
class  core\event\content_viewed
 
class  core\event\course_backup_created
 
class  core\event\course_category_created
 Course category created event class. More...
 
class  core\event\course_category_deleted
 
class  core\event\course_category_updated
 Course category updated event class. More...
 
class  core\event\course_category_viewed
 Course category viewed event class. More...
 
class  core\event\course_completed
 
class  core\event\course_completion_updated
 Course module completion updated event class. More...
 
class  core\event\course_content_deleted
 
class  core\event\course_created
 
class  core\event\course_deleted
 
class  core\event\course_information_viewed
 Course information viewed event class. More...
 
class  core\event\course_module_completion_updated
 
class  core\event\course_module_created
 
class  core\event\course_module_deleted
 
class  core\event\course_module_instance_list_viewed
 Course module instance list viewed event class. More...
 
class  core\event\course_module_instances_list_viewed
 This class has been deprecated, please use core\event\course_module_instance_list_viewed. More...
 
class  core\event\course_module_updated
 
class  core\event\course_module_viewed
 Abstract Course module viewed event class. More...
 
class  core\event\course_reset_ended
 
class  core\event\course_reset_started
 
class  core\event\course_resources_list_viewed
 Event for viewing the list of course resources. More...
 
class  core\event\course_restored
 
class  core\event\course_section_created
 
class  core\event\course_section_deleted
 
class  core\event\course_section_updated
 
class  core\event\course_updated
 
class  core\event\course_user_report_viewed
 
class  core\event\course_viewed
 
class  core\event\courses_searched
 
class  core\event\dashboard_reset
 
class  core\event\dashboard_viewed
 Dashboard viewed event class. More...
 
class  core\event\dashboards_reset
 
class  core\event\database_text_field_content_replaced
 
class  core\event\email_failed
 
class  core\event\enrol_instance_created
 
class  core\event\enrol_instance_deleted
 
class  core\event\enrol_instance_updated
 
class  core\event\grade_deleted
 
class  core\event\grade_exported
 Grade report viewed event class. More...
 
class  core\event\grade_item_created
 Grade item created event class. More...
 
class  core\event\grade_item_updated
 Grade item updated event class. More...
 
class  core\event\grade_letter_created
 Grade letter created event class. More...
 
class  core\event\grade_letter_deleted
 Grade letter deleted event class. More...
 
class  core\event\grade_letter_updated
 Grade letter updated event class. More...
 
class  core\event\grade_report_viewed
 Grade report viewed event class. More...
 
class  core\event\group_created
 Group created event class. More...
 
class  core\event\group_deleted
 Group deleted event class. More...
 
class  core\event\group_member_added
 
class  core\event\group_member_removed
 Group member removed event class. More...
 
class  core\event\group_message_sent
 
class  core\event\group_updated
 Group updated event class. More...
 
class  core\event\grouping_created
 Grouping created event class. More...
 
class  core\event\grouping_deleted
 Grouping deleted event class. More...
 
class  core\event\grouping_group_assigned
 Group assigned to grouping event class. More...
 
class  core\event\grouping_group_unassigned
 Group unassigned from grouping event class. More...
 
class  core\event\grouping_updated
 Grouping updated event class. More...
 
class  core\event\manager
 Class used for event dispatching. More...
 
class  core\event\message_contact_added
 Message contact added event class. More...
 
class  core\event\message_contact_blocked
 Message contact blocked event class. More...
 
class  core\event\message_contact_removed
 Message contact removed event class. More...
 
class  core\event\message_contact_unblocked
 Message contact unblocked event class. More...
 
class  core\event\message_deleted
 
class  core\event\message_sent
 
class  core\event\message_user_blocked
 Message user blocked event class. More...
 
class  core\event\message_user_unblocked
 Message users unblocked event class. More...
 
class  core\event\message_viewed
 
class  core\event\mnet_access_control_created
 
class  core\event\mnet_access_control_updated
 
class  core\event\note_created
 
class  core\event\note_deleted
 
class  core\event\note_updated
 
class  core\event\notes_viewed
 Class note_viewed. More...
 
class  core\event\notification_sent
 
class  core\event\notification_viewed
 Notification viewed event class. More...
 
class  core\event\question_base
 Base class for question events. More...
 
class  core\event\question_category_base
 Base class for question category events. More...
 
class  core\event\question_category_created
 Question category created event class. More...
 
class  core\event\question_category_deleted
 Question category deleted event class. More...
 
class  core\event\question_category_moved
 Question category moved event class. More...
 
class  core\event\question_category_updated
 Question category updated event class. More...
 
class  core\event\question_category_viewed
 Question category viewed event class. More...
 
class  core\event\question_created
 
class  core\event\question_deleted
 
class  core\event\question_moved
 
class  core\event\question_updated
 
class  core\event\question_viewed
 
class  core\event\questions_exported
 
class  core\event\questions_imported
 
class  core\event\recent_activity_viewed
 Event for recent activity page. More...
 
class  core\event\role_allow_assign_updated
 Role assignments updated event class. More...
 
class  core\event\role_allow_override_updated
 Role allow override updated event class. More...
 
class  core\event\role_allow_switch_updated
 Role allow switch updated event class. More...
 
class  core\event\role_allow_view_updated
 Role allow view updated event class. More...
 
class  core\event\role_assigned
 
class  core\event\role_capabilities_updated
 Role updated event class. More...
 
class  core\event\role_deleted
 
class  core\event\role_unassigned
 
class  core\event\role_updated
 Role updated event class. More...
 
class  core\event\scale_created
 Scale created event class. More...
 
class  core\event\scale_deleted
 Scale deleted event class. More...
 
class  core\event\scale_updated
 Scale updated event class. More...
 
class  core\event\search_indexed
 Event when new data has been indexed. More...
 
class  core\event\search_results_viewed
 
class  core\event\tag_added
 
class  core\event\tag_collection_created
 Tag collection created event class. More...
 
class  core\event\tag_collection_deleted
 Tag collection deleted event class. More...
 
class  core\event\tag_collection_updated
 Tag collection updated event class. More...
 
class  core\event\tag_created
 
class  core\event\tag_deleted
 
class  core\event\tag_flagged
 
class  core\event\tag_removed
 
class  core\event\tag_unflagged
 
class  core\event\tag_updated
 
class  core\event\unknown_logged
 Unknown event class. More...
 
class  core\event\user_created
 Event when new user profile is created. More...
 
class  core\event\user_deleted
 
class  core\event\user_enrolment_created
 
class  core\event\user_enrolment_deleted
 
class  core\event\user_enrolment_updated
 
class  core\event\user_graded
 
class  core\event\user_info_category_created
 
class  core\event\user_info_category_deleted
 
class  core\event\user_info_category_updated
 
class  core\event\user_info_field_created
 
class  core\event\user_info_field_deleted
 
class  core\event\user_info_field_updated
 
class  core\event\user_list_viewed
 
class  core\event\user_loggedin
 
class  core\event\user_loggedinas
 
class  core\event\user_loggedout
 
class  core\event\user_login_failed
 
class  core\event\user_password_updated
 
class  core\event\user_profile_viewed
 
class  core\event\user_updated
 Event when user profile is updated. More...
 
class  core\event\webservice_function_called
 
class  core\event\webservice_login_failed
 
class  core\event\webservice_service_created
 
class  core\event\webservice_service_deleted
 Web service service deleted event class. More...
 
class  core\event\webservice_service_updated
 Web service service updated event class. More...
 
class  core\event\webservice_service_user_added
 Web service service user added event class. More...
 
class  core\event\webservice_service_user_removed
 Web service service user removed event class. More...
 
class  core\event\webservice_token_created
 
class  core\event\webservice_token_sent
 Webservice token sent event class. More...
 
class  core\external\coursecat_summary_exporter
 Class for exporting a course summary from an stdClass. More...
 
class  core\external\exporter
 Generic exporter to take a stdClass and prepare it for return by webservice, or as the context for a template. More...
 
class  core\external\output\icon_system\load_fontawesome_map
 
class  core\external\paged_content_exporter
 Paged Content exporter. More...
 
class  core\external\persistent_exporter
 Abstract exporter based on the persistent model. More...
 
class  core\files\curl_security_helper
 Host and port checking for curl. More...
 
class  core\files\curl_security_helper_base
 Security helper for the curl class. More...
 
class  core\form\persistent
 Persistent form abstract class. More...
 
class  core\hub\api
 Provides methods to communicate with the hub (sites directory) web services. More...
 
class  core\hub\registration
 Methods to use when registering the site at the moodle sites directory. More...
 
class  core\hub\site_registration_form
 The site registration form. More...
 
class  core\invalid_persistent_exception
 Invalid persistent exception class. More...
 
class  core\ip_utils
 Static helper class providing some useful internet-protocol-related functions. More...
 
class  core\lock\db_record_lock_factory
 
class  core\lock\file_lock_factory
 
class  core\lock\installation_lock_factory
 
class  core\lock\lock
 
class  core\lock\lock_config
 
interface  core\lock\lock_factory
 
class  core\lock\postgres_lock_factory
 
class  core\log\dummy_manager
 
interface  core\log\manager
 Interface describing log readers. More...
 
interface  core\log\reader
 
interface  core\log\sql_internal_table_reader
 Sql internal table reader. More...
 
interface  core\log\sql_reader
 Log iterator reader interface. More...
 
class  core\message\inbound\private_files_handler
 A Handler to store attachments sent in e-mails as private files. More...
 
class  core\notification
 
class  core\oauth2\access_token
 Loads/stores oauth2 access tokens in DB for system accounts in order to use a single token across multiple sessions. More...
 
class  core\oauth2\api
 Static list of api methods for system oauth2 configuration. More...
 
class  core\oauth2\client
 Configurable oauth2 client class. More...
 
class  core\oauth2\endpoint
 Class for loading/storing oauth2 endpoints from the DB. More...
 
class  core\oauth2\issuer
 Class for loading/storing issuer from the DB. More...
 
class  core\oauth2\refresh_system_tokens_task
 Task to refresh system tokens regularly. More...
 
class  core\oauth2\rest
 Rest API base class mapping rest api methods to endpoints with http methods, args and post body. More...
 
class  core\oauth2\rest_exception
 Rest Exception class containing error code and message. More...
 
class  core\oauth2\system_account
 Class for loading/storing oauth2 refresh tokens from the DB. More...
 
class  core\oauth2\user_field_mapping
 Class for loading/storing oauth2 user field mappings from the DB. More...
 
class  core\output\checkbox_toggleall
 The checkbox-toggleall renderable class. More...
 
class  core\output\chooser
 The chooser renderable class. More...
 
class  core\output\chooser_item
 The chooser_item renderable class. More...
 
class  core\output\chooser_section
 The chooser_section renderable class. More...
 
class  core\output\external
 This class contains a list of webservice functions related to output. More...
 
class  core\output\icon_system
 
class  core\output\icon_system_font
 
class  core\output\icon_system_fontawesome
 
class  core\output\icon_system_standard
 
class  core\output\inplace_editable
 
class  core\output\mustache_filesystem_loader
 Perform some custom name mapping for template file names. More...
 
class  core\output\mustache_javascript_helper
 Store a list of JS calls to insert at the end of the page. More...
 
class  core\output\mustache_pix_helper
 This class will call pix_icon with the section content. More...
 
class  core\output\mustache_quote_helper
 Wrap content in quotes, and escape all quotes used. More...
 
class  core\output\mustache_shorten_text_helper
 This class will call shorten_text with the section content. More...
 
class  core\output\mustache_string_helper
 This class will load language strings in a template. More...
 
class  core\output\mustache_template_finder
 Get information about valid locations for mustache templates. More...
 
class  core\output\mustache_template_source_loader
 Load template source strings. More...
 
class  core\output\mustache_uniqid_helper
 Lazy create a uniqid per instance of the class. More...
 
class  core\output\mustache_user_date_helper
 Mustache helper that will convert a timestamp to a date string. More...
 
class  core\output\notification
 
interface  core\output\url_rewriter
 URL rewriter interface. More...
 
class  core\persistent
 Abstract class for core objects saved to the DB. More...
 
class  core\plugininfo\auth
 Class for authentication plugins. More...
 
class  core\plugininfo\availability
 Class for availability plugins. More...
 
class  core\plugininfo\base
 
class  core\plugininfo\block
 Class for page side blocks. More...
 
class  core\plugininfo\cachelock
 Class for admin tool plugins. More...
 
class  core\plugininfo\cachestore
 Class for cache store plugins. More...
 
class  core\plugininfo\calendartype
 Class for calendar type plugins. More...
 
class  core\plugininfo\coursereport
 Class for admin tool plugins. More...
 
class  core\plugininfo\customfield
 Class for admin tool plugins. More...
 
class  core\plugininfo\dataformat
 Class for dataformats. More...
 
class  core\plugininfo\editor
 Class for HTML editors. More...
 
class  core\plugininfo\enrol
 Class for enrolment plugins. More...
 
class  core\plugininfo\fileconverter
 Class for document converter plugins. More...
 
class  core\plugininfo\filter
 Class for text filters. More...
 
class  core\plugininfo\format
 Class for course formats. More...
 
class  core\plugininfo\general
 General class for all plugin types that do not have their own class. More...
 
class  core\plugininfo\gradeexport
 Class for admin tool plugins. More...
 
class  core\plugininfo\gradeimport
 Class for admin tool plugins. More...
 
class  core\plugininfo\gradereport
 Class for admin tool plugins. More...
 
class  core\plugininfo\gradingform
 Class for admin tool plugins. More...
 
class  core\plugininfo\local
 Class for local plugins. More...
 
class  core\plugininfo\media
 Class for media plugins. More...
 
class  core\plugininfo\message
 Class for messaging processors. More...
 
class  core\plugininfo\mlbackend
 Class for analytics machine learning backend plugins. More...
 
class  core\plugininfo\mnetservice
 Class representing an MNet service. More...
 
class  core\plugininfo\mod
 Class for activity modules. More...
 
class  core\plugininfo\orphaned
 Orphaned subplugins class. More...
 
class  core\plugininfo\plagiarism
 Class for plagiarism plugins. More...
 
class  core\plugininfo\portfolio
 Class for portfolios. More...
 
class  core\plugininfo\profilefield
 Class for admin tool plugins. More...
 
class  core\plugininfo\qbehaviour
 Class for question behaviours. More...
 
class  core\plugininfo\qformat
 Class for question types. More...
 
class  core\plugininfo\qtype
 Class for question types. More...
 
class  core\plugininfo\report
 Class for admin tool plugins. More...
 
class  core\plugininfo\repository
 Class for repositories. More...
 
class  core\plugininfo\search
 Class for search plugins. More...
 
class  core\plugininfo\theme
 Class for themes. More...
 
class  core\plugininfo\tool
 Class for admin tool plugins. More...
 
class  core\plugininfo\webservice
 Class for webservice protocols. More...
 
class  core\privacy\provider
 Privacy class for requesting user data. More...
 
class  core\progress\db_updater
 Progress handler that updates a database table with the progress. More...
 
class  core\progress\none
 Progress handler that ignores progress entirely. More...
 
class  core\session\database
 Database based session handler. More...
 
class  core\session\exception
 Session related exception class. More...
 
class  core\session\external
 This class contains a list of webservice functions related to session. More...
 
class  core\session\file
 File based session handler. More...
 
class  core\session\handler
 Session handler base. More...
 
class  core\session\manager
 Session manager, this is the public Moodle API for sessions. More...
 
class  core\session\memcached
 Memcached based session handler. More...
 
class  core\session\redis
 Redis based session handler. More...
 
class  core\task\adhoc_task
 Abstract class defining an adhoc task. More...
 
class  core\task\analytics_cleanup_task
 Delete stale records from analytics tables. More...
 
class  core\task\asynchronous_backup_task
 Adhoc task that performs asynchronous backups. More...
 
class  core\task\asynchronous_restore_task
 Adhoc task that performs asynchronous restores. More...
 
class  core\task\automated_backup_task
 Simple task to run the backup cron. More...
 
class  core\task\backup_cleanup_task
 Simple task to delete old backup records. More...
 
class  core\task\badges_cron_task
 Simple task to run the badges cron. More...
 
class  core\task\badges_message_task
 Simple task to run the badges cron. More...
 
class  core\task\blog_cron_task
 Simple task to run the blog cron. More...
 
class  core\task\build_installed_themes_task
 Class that builds and caches all of the site's installed themes. More...
 
class  core\task\cache_cleanup_task
 Simple task to delete old cache records. More...
 
class  core\task\cache_cron_task
 Simple task to run the cache cron. More...
 
class  core\task\calendar_cron_task
 Simple task to run the calendar cron. More...
 
class  core\task\check_for_updates_task
 Simple task to run the registration cron. More...
 
class  core\task\clean_up_deleted_search_area_task
 Class that cleans up data related to deleted search area. More...
 
class  core\task\completion_daily_task
 Simple task to run the daily completion cron. More...
 
class  core\task\completion_regular_task
 Simple task to run the regular completion cron. More...
 
class  core\task\context_cleanup_task
 Simple task to delete old context records. More...
 
class  core\task\create_contexts_task
 Simple task to create missing contexts at all levels. More...
 
class  core\task\database_logger
 Database logger for task logging. More...
 
class  core\task\delete_incomplete_users_task
 Simple task to delete user accounts for users who have not completed their profile in time. More...
 
class  core\task\delete_unconfirmed_users_task
 Simple task to delete user accounts for users who have not confirmed in time. More...
 
class  core\task\file_temp_cleanup_task
 Simple task to delete temp files older than 1 week. More...
 
class  core\task\file_trash_cleanup_task
 Simple task to run the file trash cleanup cron. More...
 
class  core\task\grade_cron_task
 Simple task to run the grade cron. More...
 
class  core\task\grade_history_cleanup_task
 Simple task to clean grade history tables. More...
 
class  core\task\h5p_get_content_types_task
 A task to get the latest content types from the official H5P repository. More...
 
class  core\task\legacy_plugin_cron_task
 Simple task to run cron for all plugins. More...
 
class  core\task\logmanager
 Task log manager. More...
 
class  core\task\manager
 Collection of task related methods. More...
 
class  core\task\messaging_cleanup_task
 Simple task to delete old messaging records. More...
 
class  core\task\password_reset_cleanup_task
 Simple task to delete old password reset records. More...
 
class  core\task\plagiarism_cron_task
 Simple task to run the plagiarism cron. More...
 
class  core\task\portfolio_cron_task
 Simple task to run the portfolio cron. More...
 
class  core\task\question_preview_cleanup_task
 A task to cleanup old question previews. More...
 
class  core\task\question_stats_cleanup_task
 A task to cleanup old question statistics cache. More...
 
class  core\task\refresh_mod_calendar_events_task
 Class that updates all of the existing calendar events for modules that implement the *_refresh_events() hook. More...
 
class  core\task\registration_cron_task
 Simple task to run the registration cron. More...
 
class  core\task\scheduled_task
 Abstract class defining a scheduled task. More...
 
class  core\task\search_index_task
 Runs global search indexing. More...
 
class  core\task\search_optimize_task
 Runs search index optimization. More...
 
class  core\task\send_failed_login_notifications_task
 Simple task to send notifications about failed login attempts. More...
 
class  core\task\send_new_user_passwords_task
 Simple task to create accounts and send password emails for new users. More...
 
class  core\task\session_cleanup_task
 Simple task to cleanup user sessions from a scheduled task. More...
 
class  core\task\stats_cron_task
 Simple task to run the stats cron. More...
 
class  core\task\tag_cron_task
 Simple task to run the tag cron. More...
 
class  core\task\task_base
 Abstract class for common properties of scheduled_task and adhoc_task. More...
 
class  core\task\task_log_cleanup_task
 A task to cleanup log entries for tasks. More...
 
interface  core\task\task_logger
 Interface for task logging. More...
 
class  core\update\api
 General purpose client for https://download.moodle.org/api/. More...
 
class  core\update\checker
 Singleton class that handles checking for available updates. More...
 
class  core\update\checker_exception
 General exception thrown by the core\update\checker class. More...
 
class  core\update\info
 Defines the structure of objects returned by (). More...
 
class  core\upgrade\util
 Core upgrade utility class. More...
 
class  core\uuid
 V4 UUID generator class. More...
 
class  core_admin\form\purge_caches
 Form for selecting which caches to purge on admin/purgecaches.php. More...
 
class  core_admin\form\testoutgoingmailconf_form
 Test mail form. More...
 
class  core_admin_renderer
 Standard HTML output renderer for core_admin subsystem. More...
 
class  core_badges\badge
 Class that represents badge. More...
 
class  core_badges\form\backpack
 Form to edit backpack initial details. More...
 
class  core_badges\form\badge
 Form to edit badge details. More...
 
class  core_badges\form\collections
 Form to select backpack collections. More...
 
class  core_badges\form\message
 Form to edit badge message. More...
 
class  core_badges\output\badge_alignments
 Link to external resources this badge is aligned with. More...
 
class  core_badges\output\badge_collection
 Collection of all badges for view.php page. More...
 
class  core_badges\output\badge_management
 Collection of badges used at the index.php page. More...
 
class  core_badges\output\badge_recipients
 Badge recipients rendering class. More...
 
class  core_badges\output\badge_related
 Collection of all related badges. More...
 
class  core_badges\output\badge_user_collection
 Collection of user badges used at the mybadges.php page. More...
 
class  core_badges\output\external_badge
 An external badges for external.php page. More...
 
class  core_badges\output\issued_badge
 An issued badges for badge.php page. More...
 
class  core_badges_assertion
 Open Badges Assertions specification 1.0 https://github.com/mozilla/openbadges/wiki/Assertions More...
 
class  core_badges_renderer
 Standard HTML output renderer for badges. More...
 
class  core_cache_renderer
 
class  core_collator
 A collator class with static methods that can be used for sorting. More...
 
class  core_component
 Collection of components related methods. More...
 
class  core_course\analytics\indicator\activities_due
 Activities due indicator. More...
 
class  core_course_category
 
class  core_course_list_element
 
class  core_cssparser
 Moodle CSS parser. More...
 
class  core_date
 Core date and time related code. More...
 
class  core_event_course_module_instance_list_viewed_testcase
 Class core_event_course_module_instance_list_viewed_testcase. More...
 
class  core_event_course_module_viewed_testcase
 Class core_event_course_module_viewed_testcase. More...
 
class  core_files_renderer
 File browser render. More...
 
class  core_filetypes
 Class to manage the custom filetypes list that is stored in a config variable. More...
 
class  core_geopattern
 
class  core_h5p\event\h5p_deleted
 H5P viewed event class. More...
 
class  core_h5p\event\h5p_viewed
 H5P viewed event class. More...
 
class  core_media_player_native_testcase
 
class  core_minify
 Collection of JS and CSS compression methods. More...
 
class  core_php_time_limit
 Utility class to manage PHP time limit. More...
 
class  core_plugin_manager
 Singleton class providing general plugins management functionality. More...
 
class  core_question\statistics\questions\calculated
 This class is used to return the stats as calculated by core_question\statistics\questions\calculator. More...
 
class  core_question\statistics\questions\calculator
 This class has methods to compute the question statistics from the raw data. More...
 
class  core_renderer
 
class  core_renderer_ajax
 
class  core_renderer_cli
 
class  core_renderer_maintenance
 
class  core_requirejs
 Collection of requirejs related methods. More...
 
class  core_rtlcss
 Moodle RTLCSS class. More...
 
class  core_scss
 Moodle SCSS compiler class. More...
 
class  core_shutdown_manager
 Shutdown management class. More...
 
interface  core_string_manager
 Interface for string manager. More...
 
class  core_string_manager_install
 Fetches minimum strings for installation. More...
 
class  core_string_manager_standard
 Standard string_manager implementation. More...
 
class  core_tag_manage_table
 Class core_tag_manage_table. More...
 
class  core_text
 
class  core_user
 User class to access user details. More...
 
class  core_user\analytics\target\upcoming_activities_due
 Upcoming activities due target. More...
 
class  core_useragent
 The user agent class. More...
 
class  core_xml_parser
 Class for parsing xml files. More...
 
class  course_enrolment_table
 Main course enrolment table. More...
 
class  course_modinfo
 
class  course_reset_form
 Defines the course reset settings form. More...
 
class  coursecat_helper
 Class storing display options and functions to help display course category and/or courses lists. More...
 
class  coursecat_sortable_records
 An array of records that is sortable by many fields. More...
 
class  csv_export_writer
 
class  csv_import_reader
 Utitily class for importing of CSV files. More...
 
class  custom_menu
 
class  custom_menu_item
 
class  database_driver_testcase
 
class  dbtransfer_exception
 Exception class for db transfer. More...
 
class  ddl_change_structure_exception
 Error during changing db structure. More...
 
class  ddl_dependency_exception
 Error changing db structure, caused by some dependency found like trying to modify one field having related indexes. More...
 
class  ddl_exception
 DDL exception class, use instead of print_error() and "return false;" in ddl code. More...
 
class  ddl_field_missing_exception
 Table does not exist problem exception. More...
 
class  ddl_table_missing_exception
 Table does not exist problem exception. More...
 
class  dml_connection_exception
 
class  dml_exception
 
class  dml_missing_record_exception
 
class  dml_multiple_records_exception
 
class  dml_read_exception
 
class  dml_sessionwait_exception
 
class  dml_transaction_exception
 
class  dml_write_exception
 
class  dndupload_ajax_processor
 Processes the upload, creating the course module and returning the result. More...
 
class  dndupload_handler
 Stores all the information about the available dndupload handlers. More...
 
class  edit_criteria_form
 Form to edit badge criteria. More...
 
class  edit_relatedbadge_form
 Form to edit badge details. More...
 
class  emoticon_manager
 Provides core support for plugins that have to deal with emoticons (like HTML editor or emoticon filter). More...
 
class  endorsement_form
 Form to edit endorsement. More...
 
class  enrol_plugin
 Enrolment plugins abstract class. More...
 
class  environment_results
 Helper Class to return results to caller. More...
 
class  error_log_progress_trace
 This subclass of progress_trace outputs to error log. More...
 
class  file_picker
 
class  file_serving_exception
 An exception that indicates that file can not be served. More...
 
class  files_tree_viewer
 Data structure representing a general moodle file tree viewer. More...
 
class  filter_local_settings_form
 
class  filter_manager
 Class to manage the filtering of strings. More...
 
class  filterobject
 This is just a little object to define a phrase and some instructions for how to process it. More...
 
class  flat_navigation
 Class used to generate a collection of navigation nodes most closely related to the current page. More...
 
class  flat_navigation_node
 
class  flexible_table
 #- More...
 
class  flickr_client
 Simple Flickr API client implementing the features needed by Moodle. More...
 
class  format_section_renderer_base
 This is a convenience renderer which can be used by section based formats to reduce code duplication. More...
 
class  fragment_requirements_manager
 
class  global_navigation
 
class  global_navigation_for_ajax
 
class  google_docs
 Class for manipulating google documents through the google data api. More...
 
class  google_oauth
 OAuth 2.0 client for Google Services. More...
 
class  google_picasa
 Class for manipulating picasa through the google data api. More...
 
class  Hacky_TextUI_Command_reader
 
class  help_icon
 
class  Hint_ResultPrinter
 
class  html_list_progress_trace
 HTML List Progress Tree. More...
 
class  html_progress_trace
 This subclass of progress_trace outputs as HTML. More...
 
class  html_table
 
class  html_table_cell
 
class  html_table_row
 
class  html_writer
 
class  image_icon
 Data structure representing an activity icon. More...
 
class  imscc11_backup_convert
 
class  imscc11_convert_exception
 Exception thrown by this converter. More...
 
class  imscc11_converter
 
class  imscc11_export_converter
 
class  imscc11_store_backup_file
 
class  imscc11_zip_contents
 
class  imscc1_convert_exception
 Exception thrown by this converter. More...
 
class  imscc1_converter
 
class  initials_bar
 
class  invalid_dataroot_permissions
 An exception that indicates incorrect permissions in $CFG->dataroot. More...
 
class  invalid_parameter_exception
 Exception indicating malformed parameter problem. More...
 
class  invalid_response_exception
 Exception indicating malformed response problem. More...
 
class  invalid_state_exception
 An exception that indicates something really weird happened. More...
 
class  js_writer
 
class  lang_installer
 End of component_installer class. More...
 
class  lang_installer_exception
 Exception thrown by lang_installer. More...
 
class  lang_string
 
class  license_manager
 
class  list_item
 
class  login_change_password_form
 
class  login_forgot_password_form
 Reset forgotten password form definition. More...
 
class  login_set_password_form
 Set forgotten password form definition. More...
 
class  login_signup_form
 
class  logstore_legacy\event\legacy_logged
 
class  mnet_profile_form
 small form to allow the administrator to configure (override) which profile fields are sent/imported over mnet More...
 
class  mnet_review_host_form
 The second step of the form - reviewing the host details This is also the same form that is used for editing an existing host. More...
 
class  mnet_services_form
 
class  mnet_simple_host_form
 The very basic first step add new host form - just wwwroot & application The second form is loaded up with the information from this one. More...
 
class  mod_chat_generator
 
class  mod_quiz\event\question_manually_graded
 
class  moodle_exception
 Base Moodle Exception class. More...
 
class  moodle_list
 Clues to reading this code: More...
 
class  moodle_page
 
class  moodle_text_filter
 Base class for text filters. More...
 
class  moodle_url
 Class for creating and manipulating urls. More...
 
class  MoodleExcelFormat
 Define and operate over one Format. More...
 
class  MoodleExcelWorkbook
 Define and operate over one Moodle Workbook. More...
 
class  MoodleExcelWorksheet
 Define and operate over one Worksheet. More...
 
class  MoodleODSCell
 ODS Cell abstraction. More...
 
class  MoodleODSFormat
 ODS cell format abstraction. More...
 
class  MoodleODSWorkbook
 ODS workbook abstraction. More...
 
class  MoodleODSWorksheet
 ODS Worksheet abstraction. More...
 
class  MoodleODSWriter
 ODS file writer. More...
 
class  mysqli_native_moodle_recordset
 Mysqli specific moodle recordset class. More...
 
class  nasty_strings
 
class  navbar
 
class  navigation_cache
 
class  navigation_json
 
class  navigation_node
 
class  navigation_node_collection
 
class  null_filter_manager
 Filter manager subclass that does nothing. More...
 
class  null_progress_trace
 This subclass of progress_trace does not ouput anything. More...
 
class  oauth2_client
 OAuth 2.0 Client for using web access tokens. More...
 
class  page_requirements_manager
 
class  paging_bar
 
interface  parentable_part_of_admin_tree
 Interface implemented by any part_of_admin_tree that has children. More...
 
interface  part_of_admin_tree
 CLASS DEFINITIONS /////////////////////////////////////////////////////////. More...
 
class  performance_measuring_filter_manager
 Filter manager subclass that tracks how much work it does. More...
 
class  phpunit_ArrayDataSet
 
class  phpunit_autoloader
 
class  phpunit_constraint_object_is_equal_with_exceptions
 
class  phpunit_coverage_info
 Coverage information for the tool_dataprivacy plugin. More...
 
class  phpunit_event_mock
 
class  phpunit_event_sink
 
class  phpunit_message_sink
 
class  phpunit_phpmailer_sink
 
class  phpunit_util
 
class  pix_emoticon
 
class  pix_icon
 
class  pix_icon_font
 
class  pix_icon_fontawesome
 
class  plugin_renderer_base
 
class  PNG_MetaDataHandler
 Information on PNG file chunks can be found at http://www.w3.org/TR/PNG/#11Chunks Some other info on PNG that I used http://garethrees.org/2007/11/14/pngcrush/. More...
 
class  popup_action
 
class  preferences_group
 
class  preferences_groups
 
class  progress_bar
 
class  progress_trace
 Progress trace class. More...
 
class  progress_trace_buffer
 Special type of trace that can be used for catching of output of other traces. More...
 
class  question_behaviour_type
 This class represents the type of behaviour, rather than the instance of the behaviour which control a particular question attempt. More...
 
class  question_behaviour_type_fallback
 This class exists to allow behaviours that worked in Moodle 2.3 to continue to work. More...
 
interface  renderable
 
class  renderer_base
 
interface  renderer_factory
 
class  renderer_factory_base
 
class  require_login_exception
 Course/activity access exception. More...
 
class  require_login_session_timeout_exception
 Session timeout exception. More...
 
class  required_capability_exception
 Exceptions indicating user does not have permissions to do something and the execution can not continue. More...
 
class  restore_date_testcase
 
class  search_lexer
 This class does the heavy lifting of lexing the search string into tokens. More...
 
class  search_parser
 This class takes care of sticking the proper token type/value pairs into the parsed token array. More...
 
class  search_token
 Class to hold token/value pairs after they're parsed. More...
 
class  section_info
 
class  settings_navigation
 
class  settings_navigation_ajax
 
class  single_button
 
class  single_select
 
class  standard_renderer_factory
 
class  table_dataformat_export_format
 Dataformat exporter. More...
 
class  table_default_export_format_parent
 
class  table_sql
 
class  tabobject
 Stores one tab. More...
 
class  tabtree
 
interface  templatable
 
class  test_lock
 
class  testing_block_generator
 
class  testing_data_generator
 
class  testing_module_generator
 
class  testing_util
 
class  tests_finder
 
class  text_progress_trace
 This subclass of progress_trace outputs to plain text. More...
 
class  texteditor
 Base abstract text editor class. More...
 
class  theme_config
 
class  theme_overridden_renderer_factory
 
class  upload_manager
 This class handles all aspects of fileuploading. More...
 
class  url_select
 
class  user_bulk_cohortadd_form
 
class  user_picture
 
class  uu_progress_tracker
 Tracking of processed users. More...
 
class  webservice_parameter_exception
 Web service parameter exception class. More...
 
class  WikiToMarkdown
 #- More...
 
class  xhtml_container_stack
 
class  xml_format_exception
 
class  YUI_config
 

Functions

 moodle_text_filter::__construct ($context, array $localconfig)
 Set any context-specific configuration for this filter. More...
 
 filterobject::__construct ($phrase, $hreftagbegin='< span class="highlight">', $hreftagend='</span >', $casesensitive=false, $fullmatch=false, $replacementphrase=null, $replacementcallback=null, array $replacementcallbackdata=null)
 Constructor. More...
 
 filter_manager::__construct ()
 Constructor. More...
 
object _fix_course_cats ($children, &$sortorder, $parent, $depth, $path, &$fixcontexts)
 Internal recursive category verification function, do not use directly! More...
 
 abort_all_db_transactions ()
 Unconditionally abort all database transactions, this function should be called from exception handlers only. More...
 
 add_event ()
 CALENDAR MANAGEMENT ////////////////////////////////////////////////////////////////. More...
 
 add_mod_to_section ()
 
moodle_database add_to_config_log ($name, $oldvalue, $value, $plugin)
 
 add_to_log ($courseid, $module, $action, $url='', $info='', $cm=0, $user=0)
 Add an entry to the legacy log table. More...
 
 address_in_subnet ($addr, $subnetstr)
 Function to check the passed address is within the passed subnet. More...
 
 addslashes_js ($var)
 Does proper javascript quoting. More...
 
 admin_apply_default_settings ($node=null, $unconditional=true, $admindefaultsettings=array(), $settingsoutput=array())
 settings utility functions More...
 
 admin_critical_warnings_present ()
 Test if and critical warnings are present. More...
 
moodle_page admin_externalpage_setup ($section, $extrabutton='', array $extraurlparams=null, $actualurl='', array $options=array())
 Initialise admin page - this function does require login and permission checks specified in page definition. More...
 
 admin_find_write_settings ($node, $data)
 Internal recursive function - finds all settings from submitted form. More...
 
 admin_get_root ($reload=false, $requirefulltree=true)
 Returns the reference to admin tree root. More...
 
 admin_output_new_settings_by_page ($node)
 Internal function - returns arrays of html pages with uninitialised settings. More...
 
 admin_search_settings_html ($query)
 Internal function - prints the search results. More...
 
 admin_write_settings ($formdata)
 Store changed settings, this function updates the errors variable in $ADMIN. More...
 
 ajax_capture_output ()
 Starts capturing output whilst processing an AJAX request. More...
 
 ajax_check_captured_output ()
 Check captured output for content. More...
 
 ajaxenabled ()
 
 allow_assign ()
 
 allow_override ()
 
 allow_switch ()
 
 any_new_admin_settings ($node)
 Based on find_new_settings() in upgradesettings.php Looks to find any admin settings that have not been initialized. More...
 
 filter_manager::apply_filter_chain ($text, $filterchain, array $options=array(), array $skipfilters=null)
 Apply a list of filters to some content. More...
 
 array_is_nested ($array)
 Check if there is a nested array within the passed array. More...
 
 authenticate_user_login ($username, $password, $ignorelockout=false, &$failurereason=null, $logintoken=false)
 Authenticates a user against the chosen authentication mechanism. More...
 
 badge_assemble_notification (stdClass $badge)
 Creates single message for all notification and sends it out. More...
 
 badge_award_criteria_competency_has_records_for_competencies ($competencyids)
 Check if any badge has records for competencies. More...
 
 badge_message_from_template ($message, $params)
 Replaces variables in a message template and returns text ready to be emailed to a user. More...
 
 badges_add_course_navigation (navigation_node $coursenode, stdClass $course)
 Extends the course administration navigation with the Badges page. More...
 
 badges_award_handle_manual_criteria_review (stdClass $data)
 Triggered when badge is manually awarded. More...
 
 badges_bake ($hash, $badgeid, $userid=0, $pathhash=false)
 Bake issued badge. More...
 
 badges_calculate_message_schedule ($schedule)
 Caclulates date for the next message digest to badge creators. More...
 
 badges_check_backpack_accessibility ()
 Checks if badges can be pushed to external backpack. More...
 
 badges_create_site_backpack ($data)
 Create the backpack with this data. More...
 
 badges_disconnect_user_backpack ($userid)
 Disconnect from the user backpack by deleting the user preferences. More...
 
 badges_download ($userid)
 Download all user badges in zip archive. More...
 
 badges_external_create_mapping ($sitebackpackid, $type, $internalid, $externalid)
 Save the info about which objects we connected with a backpack before. More...
 
 badges_external_delete_mapping ($sitebackpackid, $type, $internalid)
 Delete a specific external mapping information for a backpack. More...
 
 badges_external_delete_mappings ($sitebackpackid)
 Delete all external mapping information for a backpack. More...
 
 badges_external_get_mapping ($sitebackpackid, $type, $internalid)
 Used to remember which objects we connected with a backpack before. More...
 
 badges_get_badge_api_versions ()
 List the supported badges api versions. More...
 
 badges_get_badges ($type, $courseid=0, $sort='', $dir='', $page=0, $perpage=BADGE_PERPAGE, $user=0)
 Get all badges. More...
 
 badges_get_default_issuer ()
 Get the default issuer for a badge from this site. More...
 
 badges_get_issued_badge_info ()
 
 badges_get_site_backpack ($id)
 Get a site backpacks by id or url. More...
 
 badges_get_site_backpacks ()
 List the backpacks at site level. More...
 
 badges_get_user_badges ($userid, $courseid=0, $page=0, $perpage=0, $search='', $onlypublic=false)
 Get badges for a specific user. More...
 
 badges_handle_course_deletion ($courseid)
 Handles what happens to the course badges when a course is deleted. More...
 
 badges_list_criteria ($enabled=true)
 Return all the enabled criteria types for this site. More...
 
 badges_local_backpack_js ($checksite=false)
 No js files are required for backpack support. More...
 
 badges_notify_badge_award (badge $badge, $userid, $issued, $filepathhash)
 Sends notifications to users about awarded badges. More...
 
 badges_open_badges_backpack_api ()
 Is any backpack enabled that supports open badges V1? More...
 
 badges_process_badge_image (badge $badge, $iconfile)
 Process badge image from form data. More...
 
 badges_send_verification_email ($email, $backpackid, $backpackpassword)
 Create and send a verification email to the email address supplied. More...
 
 badges_setup_backpack_js ()
 Loads JS files required for backpack support. More...
 
 badges_update_site_backpack ($id, $data)
 Update the backpack with this id. More...
 
 badges_user_has_backpack ($userid)
 Checks if user has external backpack connected. More...
 
 badges_verify_backpack (int $backpackid)
 Attempt to authenticate with a backpack credentials and return an error if the authentication fails. More...
 
 badges_verify_site_backpack ()
 Attempt to authenticate with the site backpack credentials and return an error if the authentication fails. More...
 
 behat_check_config_vars ()
 Checks that the behat config vars are properly set. More...
 
 behat_clean_init_config ()
 Restrict the config.php settings allowed. More...
 
 behat_error ($errorcode, $text='')
 Exits with an error code. More...
 
 behat_error_handler ($errno, $errstr, $errfile, $errline, $errcontext)
 PHP errors handler to use when running behat tests. More...
 
 behat_get_error_string ($errtype)
 Return logical error string. More...
 
 behat_get_run_process ()
 Get behat run process from either $_SERVER or command config. More...
 
 behat_get_shutdown_process_errors ()
 Return php errors save which were save during shutdown. More...
 
 behat_is_requested_url ($url)
 Checks if the URL requested by the user matches the provided argument. More...
 
 behat_is_test_site ()
 Should we switch to the test site data? More...
 
 behat_shutdown_function ()
 Before shutdown save last error entries, so we can fail the test.
 
 behat_update_vars_for_process ()
 Fix variables for parallel behat testing. More...
 
 block_add_block_ui ($page, $output)
 Functions update the blocks if required by the request parameters ==========. More...
 
 block_instance ($blockname, $instance=NULL, $page=NULL)
 Creates a new instance of the specified block class. More...
 
 block_instance_by_id ($blockinstanceid)
 Returns a new instance of the specified block instance id. More...
 
 block_load_class ($blockname)
 Load the block class for a particular type of block. More...
 
 block_method_result ($blockname, $method, $param=NULL)
 Helper functions for working with block classes ============================. More...
 
 blocks_add_default_course_blocks ($course)
 Add the default blocks to a course. More...
 
 blocks_add_default_system_blocks ()
 Add the default system-context blocks. More...
 
 blocks_delete_all_for_context ($contextid)
 Delete all the blocks that belong to a particular context. More...
 
 blocks_delete_instance ($instance, $nolongerused=false, $skipblockstables=false)
 Delete a block, and associated data. More...
 
 blocks_delete_instances ($instanceids)
 Delete multiple blocks at once. More...
 
 blocks_find_block ($blockid, $blocksarray)
 Find a given block by its blockid within a provide array. More...
 
 blocks_get_default_site_course_blocks ()
 
 blocks_get_record ($blockid=NULL, $notusedanymore=false)
 Get the block record for a particular blockid - that is, a particular type os block. More...
 
 blocks_name_allowed_in_format ($name, $pageformat)
 Check that a given name is in a permittable format. More...
 
 blocks_parse_default_blocks_list ($blocksstr)
 Parse a list of default blocks. More...
 
 blocks_remove_inappropriate ($course)
 Actually delete from the database any blocks that are currently on this page, but which should not be there according to blocks_name_allowed_in_format. More...
 
 blocks_set_visibility ($instance, $page, $newvisibility)
 Set a block to be visible or hidden on a particular page. More...
 
 blog_get_context_url ()
 
 bounded_number ($min, $value, $max)
 Used to make sure that $min <= $value <= $max. More...
 
 break_up_long_words ($string, $maxsize=20, $cutchar=' ')
 Given some normal text this function will break up any long words to a given size by inserting the given character. More...
 
 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_send_from_real_email_address ($from, $user, $unused=null)
 Check to see if a user's real email address should be used for the "From" field. More...
 
 can_use_html_editor ()
 
 can_use_rotated_text ()
 
 category_delete_full ()
 
 category_delete_move ()
 
 check_browser_operating_system ()
 
 check_browser_version ()
 
 check_consecutive_identical_characters ($password, $maxchars)
 Check whether the given password has no more than the specified number of consecutive identical characters. More...
 
 check_dir_exists ($dir, $create=true, $recursive=true)
 Function to check if a directory exists and by default create it if not exists. More...
 
 check_gd_version ()
 
 check_moodle_environment ($version, $env_select=ENV_SELECT_NEWER)
 This function checks all the requirements defined in environment.xml. More...
 
 check_password_policy ($password, &$errmsg, $user=null)
 Validate a password against the configured password policy. More...
 
 check_php_version ($version='5.2.4')
 Returns true if the current version of PHP is greater that the specified one. More...
 
 check_user_preferences_loaded (stdClass $user, $cachelifetime=120)
 
 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 ()
 
 clean_filename ($string)
 Cleans a given filename by removing suspicious or troublesome characters. More...
 
 clean_param ($param, $type)
 Used by } and required_param() to clean the variables and/or cast to specific types, based on an options field. More...
 
 clean_param_array (array $param=null, $type, $recursive=false)
 Makes sure array contains only the allowed types, this function does not validate array key names! More...
 
 clean_text ($text, $format=FORMAT_HTML, $options=array())
 Cleans raw text removing nasties. More...
 
 cleanremoteaddr ($addr, $compress=false)
 Cleans an ip address. More...
 
 cleanup_contexts ()
 
 cleardoubleslashes ($path)
 Replace 1 or more slashes or backslashes to 1 slash. More...
 
 cli_error ($text, $errorcode=1)
 Write to standard error output and exit with the given code. More...
 
 cli_execute_parallel ($cmds, $cwd=null, $delay=0)
 Execute commands in parallel. More...
 
 cli_get_params (array $longoptions, array $shortmapping=null)
 Returns cli script parameters. More...
 
 cli_heading ($string, $return=false)
 Print or return section heading string. More...
 
 cli_input ($prompt, $default='', array $options=null, $casesensitiveoptions=false)
 Get input from user. More...
 
 cli_logo ($padding=2, $return=false)
 Print an ASCII version of the Moodle logo. More...
 
 cli_problem ($text)
 Write error notification. More...
 
 cli_separator ($return=false)
 Print or return section separator string. More...
 
 cli_write ($text, $stream=STDOUT)
 Write a text to the given stream. More...
 
 cli_writeln ($text, $stream=STDOUT)
 Write a text followed by an end of line symbol to the given stream. More...
 
 close_window ($delay=0, $reloadopener=false)
 Try and close the current window using JavaScript, either immediately, or after a delay. More...
 
 cohort_get_visible_list ()
 
 complete_user_login ($user)
 Call to complete the user login process after authenticate_user_login() has succeeded. More...
 
 completion_cron ()
 
 complex_random_string ($length=null)
 Generate a complex random string (useful for md5 salts) More...
 
 component_callback ($component, $function, array $params=array(), $default=null)
 Invoke component's callback functions. More...
 
 component_callback_exists ($component, $function)
 Determine if a component callback exists and return the function name to call. More...
 
 component_class_callback ($classname, $methodname, array $params, $default=null)
 Call the specified callback method on the provided class. More...
 
 confirm_sesskey ($sesskey=NULL)
 Check the sesskey and return true of false for whether it is valid. More...
 
 content_to_text ($content, $contentformat)
 Converts texts or strings to plain text. More...
 
 context_instance_preload ()
 
 context_instance_preload_sql ()
 
 context_moved ()
 
 convert_tabrows_to_tree ()
 
 convert_to_array ($var)
 Converts an object into an associative array. More...
 
 convert_tree_to_html ()
 
 core_login_extend_change_password_form ($mform, $user)
 Plugins can extend forms. More...
 
 core_login_extend_forgot_password_form ($mform)
 Inject form elements into forgot_password_form. More...
 
 core_login_extend_set_password_form ($mform, $user)
 Inject form elements into set_password_form. More...
 
 core_login_extend_signup_form ($mform)
 Inject form elements into signup_form. More...
 
 core_login_generate_password_reset ($user)
 Create a new record in the database to track a new password set request for user. More...
 
 core_login_get_return_url ()
 Determine where a user should be redirected after they have been logged in. More...
 
 core_login_post_change_password_requests ($data)
 Plugins can perform post submission actions. More...
 
 core_login_post_forgot_password_requests ($data)
 Post forgot_password_form submission actions. More...
 
 core_login_post_set_password_requests ($data, $user)
 Post set_password_form submission actions. More...
 
 core_login_post_signup_requests ($data)
 Post signup_form submission actions. More...
 
 core_login_pre_signup_requests ()
 Plugins can create pre sign up requests.
 
 core_login_process_password_reset ($username, $email)
 Process the password reset for the given user (via username or email). More...
 
 core_login_process_password_reset_request ()
 Processes a user's request to set a new password in the event they forgot the old one. More...
 
 core_login_process_password_set ($token)
 This function processes a user's submitted token to validate the request to set a new password. More...
 
 core_login_validate_extend_change_password_form ($data, $user)
 Plugins can add additional validation to forms. More...
 
 core_login_validate_extend_forgot_password_form ($data)
 Inject validation into forgot_password_form. More...
 
 core_login_validate_extend_set_password_form ($data, $user)
 Inject validation into set_password_form. More...
 
 core_login_validate_extend_signup_form ($data)
 Inject validation into signup_form. More...
 
 core_login_validate_forgot_password_data ($data)
 Validates the forgot password form data. More...
 
 core_myprofile_navigation (core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course)
 Defines core nodes for my profile navigation tree. More...
 
 count_enrolled_users (context $context, $withcapability='', $groupid=0, $onlyactive=false)
 Counts list of users enrolled into course (as per above function) More...
 
 count_letters ($string)
 
 count_login_failures ()
 
 count_words ($string)
 
 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 ()
 
 create_user_key ($script, $userid, $instance=null, $iprestriction=null, $validuntil=null)
 Creates a new private user access key. More...
 
 create_user_record ($username, $password, $auth='manual')
 Creates a bare-bones user record. More...
 
 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_prepare_core_renderer ($restore=false)
 Prepare the output renderer for the cron run. More...
 
 cron_run ()
 Execute cron tasks.
 
 cron_run_adhoc_tasks (int $timenow)
 Execute all queued adhoc tasks, applying necessary concurrency limits and time limits. More...
 
 cron_run_inner_adhoc_task (\core\task\adhoc_task $task)
 Shared code that handles running of a single adhoc task within the cron. More...
 
 cron_run_inner_scheduled_task (\core\task\task_base $task)
 Shared code that handles running of a single scheduled task within the cron. More...
 
 cron_run_scheduled_tasks (int $timenow)
 Execute all queued scheduled tasks, applying necessary concurrency limits and time limits. More...
 
 cron_run_single_task (\core\task\scheduled_task $task)
 Runs a single cron task. More...
 
 cron_setup_user ($user=null, $course=null, $leavepagealone=false)
 Sets up current user and course environment (lang, etc.) in cron. More...
 
 cron_trace_time_and_memory ()
 Output some standard information during cron runs. More...
 
 css_is_colour ()
 
 css_is_width ()
 
 css_minify_css ()
 
 css_send_cached_css ($csspath, $etag)
 Sends a cached CSS file. More...
 
 css_send_cached_css_content ($csscontent, $etag)
 Sends a cached CSS content. More...
 
 css_send_css_not_found ()
 Sends a 404 message about CSS not being found.
 
 css_send_temporary_css ($css)
 Sends CSS directly and disables all caching. More...
 
 css_send_uncached_css ($css)
 Sends CSS directly without caching it. More...
 
 css_send_unmodified ($lastmodified, $etag)
 Send file not modified headers. More...
 
 css_sort_by_count ()
 
if(!defined('THEME_DESIGNER_CACHE_LIFETIME')) css_store_css (theme_config $theme, $csspath, $csscontent)
 Stores CSS in a file at the given path. More...
 
 css_write_file ($filename, $content)
 Writes a CSS file. More...
 
 current_language ()
 
 current_theme ()
 
 custom_script_path ()
 Detect a custom script replacement in the data directory that will replace an existing moodle script. More...
 
 data_submitted ()
 Determine if there is data waiting to be processed from a form. More...
 
 date_format_string ($date, $format, $tz=99)
 Returns a formatted date ensuring it is UTF-8. More...
 
 dayofweek ($day, $month, $year)
 
 days_in_month ($month, $year)
 
 db_replace ($search, $replace)
 Moved from admin/replace.php so that we can use this in cron. More...
 
 db_should_replace ($table, $column='')
 Given a table and optionally a column name should replaces be done? More...
 
 debugging ($message='', $level=DEBUG_NORMAL, $backtrace=null)
 Standard Debugging Function. More...
 
 decompose_update_into_safe_changes (array $newvalues, $unusedvalue)
 Helper used by update_field_with_unique_index(). More...
 
 dedupe_user_access ()
 
 default_error_handler ($errno, $errstr, $errfile, $errline, $errcontext)
 Default error handler, prevents some white screens. More...
 
 default_exception_handler ($ex)
 Default exception handler. More...
 
 default_page_type_list ($pagetype, $parentcontext=null, $currentcontext=null)
 Generates a default page type list when a more appropriate callback cannot be decided upon. More...
 
 delete_context ()
 
 delete_course ($courseorid, $showfeedback=true)
 Delete a course, including all related data from the database, and any associated files. More...
 
 delete_course_module ()
 
 delete_event ()
 
 delete_user (stdClass $user)
 Marks user deleted in internal user database and notifies the auth plugin. More...
 
 delete_user_key ($script, $userid)
 Delete the user's new private user access keys for a particular script. More...
 
 detect_munged_arguments ()
 
 display_auth_lock_options ($settings, $auth, $userfields, $helptext, $mapremotefields, $updateremotefields, $customfields=array())
 Helper function used to print locking for auth plugins on admin pages. More...
 
 display_size ($size)
 Converts bytes into display form. More...
 
 dndupload_add_to_course ($course, $modnames)
 Add the Javascript to enable drag and drop upload to a course page. More...
 
 download_as_dataformat ($filename, $dataformat, $columns, $iterator, $callback=null)
 Sends a formated data file to the browser. More...
 
 draw_rand_array ($array, $draws)
 Given an arbitrary array, and a number of draws, this function returns an array with that amount of items. More...
 
 drop_plugin_tables ($name, $file, $feedback=true)
 Delete all plugin tables. More...
 
 dst_changes_for_year ()
 
 dst_offset_on ($time, $strtimezone=null)
 
 during_initial_install ()
 Indicates whether we are in the middle of the initial Moodle install. More...
 
 editors_get_available ()
 Get the list of available editors. More...
 
 editors_get_enabled ()
 Returns list of enabled text editors. More...
 
 editors_get_preferred_editor ($format=NULL)
 Returns users preferred editor for given format. More...
 
 editors_get_preferred_format ()
 Returns users preferred text format. More...
 
 editors_head_setup ()
 Setup all JS and CSS needed for editors. More...
 
 email_is_not_allowed ($email)
 Check that an email is allowed. More...
 
 email_should_be_diverted ($email)
 A helper function to test for email diversion. More...
 
 email_to_user ($user, $from, $subject, $messagetext, $messagehtml='', $attachment='', $attachname='', $usetrueaddress=true, $replyto='', $replytoname='', $wordwrapwidth=79)
 Send an email to a specified user. More...
 
 enable_cli_maintenance_mode ()
 Enables CLI maintenance mode by creating new dataroot/climaintenance.html file.
 
 endecrypt ($pwd, $data, $case)
 Based on a class by Mukul Sabharwal [mukulsabharwal @ yahoo.com]. More...
 
 enrol_accessing_via_instance (stdClass $instance)
 Is current user accessing course via this enrolment method? More...
 
 enrol_add_course_navigation (navigation_node $coursenode, $course)
 Add navigation nodes. More...
 
 enrol_calculate_duration ($timestart, $timeend)
 Calculate duration base on start time and end time. More...
 
 enrol_check_plugins ($user)
 Check all the login enrolment information for the given user object by querying the enrolment plugins. More...
 
 enrol_cohort_can_view_cohort ()
 
 enrol_cohort_enrol_all_users ()
 
 enrol_cohort_get_cohorts ()
 
 enrol_cohort_search_cohorts ()
 
 enrol_course_delete ($course, $userid=null)
 Called when course is about to be deleted. More...
 
 enrol_course_edit_form (MoodleQuickForm $mform, $data, $context)
 This function adds necessary enrol plugins UI into the course edit form. More...
 
 enrol_course_edit_validation (array $data, $context)
 Validate course edit form data. More...
 
 enrol_course_updated ($inserted, $course, $data)
 Update enrol instances after course edit form submission. More...
 
 enrol_get_all_users_courses ($userid, $onlyactive=false, $fields=null, $sort=null)
 Returns list of courses user is enrolled into without performing any capability checks. More...
 
 enrol_get_course_by_user_enrolment_id ($ueid)
 Returns the course where a user enrolment belong to. More...
 
 enrol_get_course_description_texts ($course)
 Returns course enrolment detailed information. More...
 
 enrol_get_course_info_icons ($course, array $instances=NULL)
 Returns course enrolment information icons. More...
 
 enrol_get_course_users ($courseid=false, $onlyactive=false, $usersfilter=array(), $uefilter=array())
 Return all users enrolled in a course. More...
 
 enrol_get_course_users_roles (int $courseid)
 Returns list of roles per users into course. More...
 
 enrol_get_courses_sortingsql ($sort=null)
 Returns SQL ORDER arguments which reflect the admin settings to sort my courses. More...
 
 enrol_get_enrolment_end ($courseid, $userid)
 This function returns the end of current active user enrolment. More...
 
 enrol_get_instances ($courseid, $enabled)
 Returns enrolment instances in given course. More...
 
 enrol_get_my_courses ($fields=null, $sort=null, $limit=0, $courseids=[], $allaccessible=false, $offset=0, $excludecourses=[])
 Returns list of courses current $USER is enrolled in and can access. More...
 
 enrol_get_period_list ()
 Get the list of options for the enrolment period dropdown. More...
 
 enrol_get_plugin ($name)
 Returns instance of enrol plugin. More...
 
 enrol_get_plugins ($enabled)
 Returns instances of enrol plugins. More...
 
moodle_database enrol_get_shared_courses ($user1, $user2, $preloadcontexts=false, $checkexistsonly=false)
 Returns any courses shared by the two users. More...
 
 enrol_get_users_courses ($userid, $onlyactive=false, $fields=null, $sort=null)
 Returns list of courses user is enrolled into. More...
 
 enrol_is_enabled ($enrol)
 Checks if a given plugin is in the list of enabled enrolment plugins. More...
 
 enrol_output_fragment_user_enrolment_form ($args)
 Serve the user enrolment form as a fragment. More...
 
 enrol_selfenrol_available ($courseid)
 Is there a chance users might self enrol. More...
 
 enrol_send_welcome_email_options ()
 Send welcome email "from" options. More...
 
 enrol_sharing_course ($user1, $user2)
 Do these two students share any course? More...
 
 enrol_try_internal_enrol ($courseid, $userid, $roleid=null, $timestart=0, $timeend=0)
 Try to enrol user via default internal auth plugin. More...
 
 enrol_user_delete ($user)
 Called when user is about to be deleted. More...
 
 enrol_user_sees_own_courses ($user=null)
 Can user access at least one enrolled course? More...
 
object environment_check ($version, $env_select)
 This function will check for everything (DB, PHP and PHP extensions for now) returning an array of environment_result objects. More...
 
 environment_check_database ($version, $env_select)
 This function will check if database requirements are satisfied. More...
 
 environment_check_moodle ($version, $env_select)
 This function will check if Moodle requirements are satisfied. More...
 
 environment_check_pcre_unicode ($version, $env_select)
 Looks for buggy PCRE implementation, we need unicode support in Moodle... More...
 
 environment_check_php ($version, $env_select)
 This function will check if php requirements are satisfied. More...
 
 environment_check_php_extensions ($version, $env_select)
 This function will check if php extensions requirements are satisfied. More...
 
 environment_check_php_settings ($version, $env_select)
 This function will check if php extensions requirements are satisfied. More...
 
 environment_check_unicode ($version, $env_select)
 This function will check if unicode database requirements are satisfied. More...
 
 environment_custom_checks ($version, $env_select)
 This function will do the custom checks. More...
 
 environment_get_errors ($environment_results)
 Returns array of critical errors in plain text format. More...
 
 environment_verify_plugin ($plugin, $pluginxml)
 Checks if a plugin tag has a name attribute and it matches the plugin being tested. More...
 
 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 ()
 
 exists_auth_plugin ($auth)
 Returns whether a given authentication plugin exists. More...
 
 external_function_info ()
 
 extract_draft_file_urls_from_text ($text, $forcehttps=false, $contextid=null, $component=null, $filearea=null, $itemid=null, $filename=null)
 Factory method for extracting draft file links from arbitrary text using regular expressions. More...
 
 fetch_context_capabilities ()
 
static fill_classmap_renames_cache ()
 Records all class renames that have been made to facilitate autoloading.
 
 moodle_text_filter::filter ($text, array $options=array())
 Override this function to actually implement the filtering. More...
 
 filter_manager::filter_string ($string, $context)
 Filter a piece of string. More...
 
 null_filter_manager::filter_string ($string, $context)
 As for the equivalent filter_manager method. More...
 
 performance_measuring_filter_manager::filter_string ($string, $context)
 Filter a piece of string. More...
 
 filter_manager::filter_text ($text, $context, array $options=array(), array $skipfilters=null)
 Filter some text. More...
 
 null_filter_manager::filter_text ($text, $context, array $options=array(), array $skipfilters=null)
 As for the equivalent filter_manager method. More...
 
 performance_measuring_filter_manager::filter_text ($text, $context, array $options=array(), array $skipfilters=null)
 Filter some text. More...
 
 filter_text ()
 
 find_day_in_month ($startday, $weekday, $month, $year)
 
 fix_align_rtl ($align)
 Returns swapped left<=> right if in RTL environment. More...
 
object fix_course_sortorder ()
 Fixes course category and course sortorder, also verifies category and course parents and paths. More...
 
 fix_utf8 ($value)
 Makes sure the data is using valid utf8, invalid characters are discarded. More...
 
 force_current_language ($language)
 Force the current language to get strings and dates localised in the given language. More...
 
 format_admin_setting ($setting, $title='', $form='', $description='', $label=true, $warning='', $defaultinfo=NULL, $query='')
 Format admin settings. More...
 
 format_backtrace ($callers, $plaintext=false)
 Formats a backtrace ready for output. More...
 
 format_float ($float, $decimalpoints=1, $localized=true, $stripzeros=false)
 Given a float, prints it nicely. More...
 
 format_module_intro ($module, $activity, $cmid, $filter=true)
 Formats activity intro text. More...
 
 format_string ($string, $striplinks=true, $options=null)
 Given a simple string, this function returns the string processed by enabled string filters if $CFG->filterall is enabled. More...
 
 format_text ($text, $format=FORMAT_MOODLE, $options=null, $courseiddonotuse=null)
 Given text in a variety of format codings, this function returns the text as safe HTML. More...
 
 format_text_email ($text, $format)
 Given text in a variety of format codings, this function returns the text as plain text suitable for plain email. More...
 
 format_text_menu ()
 Just returns an array of text formats suitable for a popup menu. More...
 
 format_time ($totalsecs, $str=null)
 
 format_weeks_get_section_dates ()
 
 formerr ()
 
 fullclone ($thing)
 This function will make a complete copy of anything it's given, regardless of whether it's an object or not. More...
 
 fullname ($user, $override=false)
 Returns a persons full name. More...
 
 gc_cache_flags ()
 Garbage-collect volatile flags. More...
 
 generate_email_messageid ($localpart=null)
 Generate a unique email Message-ID using the moodle domain and install path. More...
 
 generate_email_processing_address ($modid, $modargs)
 Generate an email processing address. More...
 
 generate_email_signoff ()
 Generate a signoff for emails based on support settings. More...
 
 generate_email_supportuser ()
 
 generate_image_thumbnail ($filepath, $width, $height)
 Generates a thumbnail for the given image. More...
 
 generate_image_thumbnail_from_image ($original, $imageinfo, $width, $height)
 Generates a thumbnail for the given image string. More...
 
 generate_image_thumbnail_from_string ($filedata, $width, $height)
 Generates a thumbnail for the given image string. More...
 
 generate_page_type_patterns ($pagetype, $parentcontext=null, $currentcontext=null)
 Given a specific page type, parent context and currect context, return all the page type patterns that might be used by this block. More...
 
 generate_password ($maxlen=10)
 Returns a randomly generated password of length $maxlen. More...
 
 generate_uuid ()
 Generate a V4 UUID. More...
 
 get_accesshide ($text, $elem='span', $class='', $attrs='')
 Return a HTML element with the class "accesshide", for accessibility. More...
 
if(!defined('LASTACCESS_UPDATE_SECS')) get_admin ()
 Number of seconds to wait before updating lastaccess information in DB. More...
 
 get_admins ()
 Returns list of all admins, using 1 DB query. More...
 
 get_all_instances_in_course ($modulename, $course, $userid=NULL, $includeinvisible=false)
 Returns an array of all the active instances of a particular module in a given course, sorted in the order they are defined. More...
 
object get_all_instances_in_courses ($modulename, $courses, $userid=NULL, $includeinvisible=false)
 Returns an array of all the active instances of a particular module in given courses, sorted in the order they are defined. More...
 
 get_all_mods ()
 
 get_all_sections ()
 
 get_all_subcategories ()
 
 get_all_user_name_fields ($returnsql=false, $tableprefix=null, $prefix=null, $fieldprefix=null, $order=false)
 A centralised location for the all name fields. More...
 
static get_all_versions ()
 Returns hash of all versions including core and all plugins. More...
 
static get_all_versions_hash ()
 Returns hash of all versions including core and all plugins. More...
 
 get_auth_plugin ($auth)
 Returns an authentication plugin instance. More...
 
 get_backpack_settings ($userid, $refresh=false)
 Returns external backpack settings and badges from this backpack. More...
 
 get_backup_temp_directory ($directory)
 Get the full path of a directory under $CFG->backuptempdir. More...
 
 get_browser_version_classes ()
 
 get_cache_flag ($type, $name, $changedsince=null)
 Get volatile flags. More...
 
 get_cache_flags ($type, $changedsince=null)
 Get volatile flags. More...
 
 get_callable_name ($callable)
 Get human readable name describing the given callable. More...
 
 get_categories ()
 
 get_category_courses_array ()
 
 get_category_courses_array_recursively ()
 
 get_child_categories ()
 
 get_child_contexts ()
 
 get_clam_error_code ()
 
 get_complete_user_data ($field, $value, $mnethostid=null, $throwexception=false)
 Get a complete user record, which includes all the info in the user record. More...
 
static get_component_classes_in_namespace ($component=null, $namespace='')
 Returns all classes in a component matching the provided namespace. More...
 
static get_component_directory ($component)
 Return exact absolute path to a plugin directory. More...
 
static get_component_list ()
 Returns a list of frankenstyle component names and their paths, for all components (plugins and subsystems). More...
 
static get_component_names ()
 Returns a list of frankenstyle component names. More...
 
 get_component_version ($component, $source='installed')
 Returns the version of installed component. More...
 
 get_config ($plugin, $name=null)
 Get configuration values from the global config table or the config_plugins table. 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...
 
static get_core_subsystems ()
 List all core subsystems and their location. More...
 
 get_course ($courseid, $clone=true)
 Gets a course object from database. More...
 
 get_course_and_cm_from_cmid ($cmorid, $modulename='', $courseorid=0, $userid=0)
 Efficiently retrieves the $course (stdclass) and $cm (cm_info) objects, given a cmid. More...
 
 get_course_and_cm_from_instance ($instanceorid, $modulename, $courseorid=0, $userid=0)
 Efficiently retrieves the $course (stdclass) and $cm (cm_info) objects, given an instance id or record and module name. More...
 
 get_course_category ()
 
 get_course_category_tree ()
 
 get_course_context ()
 
 get_course_display_name_for_list ($course)
 Gets the name of a course to be displayed when showing a list of courses. More...
 
object get_course_mods ($courseid)
 MODULE FUNCTIONS /////////////////////////////////////////////////. More...
 
 get_course_participants ()
 
 get_course_section ()
 
 get_courseid_from_context ()
 
object get_coursemodule_from_id ($modulename, $cmid, $courseid=0, $sectionnum=false, $strictness=IGNORE_MISSING)
 Given an id of a course module, finds the coursemodule description. More...
 
object get_coursemodule_from_instance ($modulename, $instance, $courseid=0, $sectionnum=false, $strictness=IGNORE_MISSING)
 Given an instance number of a module, finds the coursemodule description. More...
 
 get_coursemodules_in_course ($modulename, $courseid, $extrafields='')
 Returns all course modules of given activity in course. More...
 
object get_courses ($categoryid="all", $sort="c.sortorder ASC", $fields="c.*")
 Returns list of courses, for whole site, or category. More...
 
 core_course_category::get_courses ($options=array())
 Retrieves the list of courses accessible by user. More...
 
 get_courses_page ($categoryid="all", $sort="c.sortorder ASC", $fields="c.*", &$totalcount, $limitfrom="", $limitnum="")
 Returns list of courses, for whole site, or category. More...
 
object get_courses_search ($searchterms, $sort, $page, $recordsperpage, &$totalcount, $requiredcapabilities=array(), $searchcond=[], $params=[])
 A list of courses that match a search. More...
 
 get_courses_wmanagers ()
 
 get_current_group ()
 
 get_db_directories ()
 Returns list of all directories where we expect install.xml files. More...
 
 get_device_cfg_var_name ()
 
 get_device_type ()
 
 get_device_type_list ()
 
 get_directory_list ($rootdir, $excludefiles='', $descend=true, $getdirs=false, $getfiles=true)
 Returns an array with all the filenames in all subdirectories, relative to the given rootdir. More...
 
 get_directory_size ($rootdir, $excludefile='')
 Adds up all the files in a directory and works out the size. More...
 
 get_docs_url ($path=null)
 Returns the Moodle Docs URL in the users language for a given 'More help' link. More...
 
 get_emoticon_manager ()
 Factory function for emoticon_manager. More...
 
 get_enabled_auth_plugins ($fix=false)
 Returns array of active auth plugins. More...
 
 get_enrolled_join (context $context, $useridcolumn, $onlyactive=false, $onlysuspended=false, $enrolid=0)
 Returns array with sql joins and parameters returning all ids of users enrolled into course. More...
 
 get_enrolled_sql (context $context, $withcapability='', $groupid=0, $onlyactive=false, $onlysuspended=false, $enrolid=0)
 Returns array with sql code and parameters returning all ids of users enrolled into course. More...
 
 get_enrolled_users (context $context, $withcapability='', $groupid=0, $userfields='u.*', $orderby=null, $limitfrom=0, $limitnum=0, $onlyactive=false)
 Returns list of users enrolled into course. More...
 
 get_enrolled_with_capabilities_join (context $context, $prefix='', $capability='', $group=0, $onlyactive=false, $onlysuspended=false, $enrolid=0)
 Returns an array of joins, wheres and params that will limit the group of users to only those enrolled and with given capability (if specified). More...
 
 get_environment_for_version ($version, $env_select)
 This function will return the xmlized data belonging to one Moodle version. More...
 
 get_exception_info ($ex)
 Returns detailed information about specified exception. More...
 
 get_extra_user_fields ($context, $already=array())
 Checks if current user is shown any extra fields when listing users. More...
 
 get_extra_user_fields_sql ($context, $alias='', $prefix='', $already=array())
 If the current user is to be shown extra user fields when listing or selecting users, returns a string suitable for including in an SQL select clause to retrieve those fields. More...
 
 get_fast_modinfo ($courseorid, $userid=0, $resetonly=false)
 Returns reference to full info about modules in course (including visibility). More...
 
 get_file_argument ()
 Extracts file argument either from file parameter or PATH_INFO. More...
 
 get_file_browser ()
 Returns local file storage instance. More...
 
 get_file_packer ($mimetype='application/zip')
 Returns file packer. More...
 
 get_file_storage ($reset=false)
 Returns local file storage instance. More...
 
 get_file_url ()
 
 get_formatted_help_string ($identifier, $component, $ajax=false, $a=null)
 Get the value of a help string fully prepared for display in the current language. More...
 
 get_generic_section_name ()
 
 get_group_picture_url ($group, $courseid, $large=false, $includetoken=false)
 Return the url to the group picture. More...
 
 get_home_page ()
 Gets the homepage to use for the current user. More...
 
 get_host_from_url ($url)
 Returns host part from url. More...
 
 get_html_lang ($dir=false)
 Return a string containing 'lang', xml:lang and optionally 'dir' HTML attributes. More...
 
 get_last_soap_messages ($connection)
 
 get_latest_version_available ($version, $env_select)
 This function will return the most recent version in the environment.xml file previous or equal to the version requested. More...
 
 get_level ($element)
 Here all the restrict functions are coded to be used by the environment checker. More...
 
 get_list_of_charsets ()
 Returns a list of charset codes. More...
 
 get_list_of_environment_versions ($contents)
 This function will return the list of Moodle versions available. More...
 
 get_list_of_plugins ($directory='mod', $exclude='', $basedir='')
 Lists plugin-like directories within specified directory. More...
 
 get_list_of_themes ()
 Returns a list of valid and compatible themes. More...
 
 get_list_of_timezones ()
 
 get_local_referer ($stripquery=true)
 Returns the cleaned local URL of the HTTP_REFERER less the URL query string parameters if required. More...
 
 get_log_manager ($forcereload=false)
 LOG FUNCTIONS /////////////////////////////////////////////////////. More...
 
 get_login_url ()
 Returns full login url. More...
 
 get_logs ()
 
 get_logs_usercourse ()
 
 get_logs_userday ()
 
 get_mailer ($action='get')
 Get mailer instance, enable buffering, flush buffer or disable buffering. More...
 
 get_max_upload_file_size ($sitebytes=0, $coursebytes=0, $modulebytes=0, $unused=false)
 Returns the maximum size for uploading files. More...
 
 get_max_upload_sizes ($sitebytes=0, $coursebytes=0, $modulebytes=0, $custombytes=null)
 Returns an array of possible sizes in local language. More...
 
 get_mnet_environment ()
 helper function to load up and initialise the mnet environment this must be called before you use mnet functions. More...
 
 get_mnet_remote_client ()
 during xmlrpc server code execution, any code wishing to access information about the remote peer must use this to get it. More...
 
 get_moodle_cookie ()
 Gets a moodle cookie with a weakly encrypted username. More...
 
object get_my_remotecourses ($userid=0)
 List of remote courses that a user has access to via MNET. More...
 
object get_my_remotehosts ()
 List of remote hosts that a user has access to via MNET. More...
 
 get_parent_contextid ()
 
 get_parent_contexts ()
 
 get_parent_language ($lang=null)
 
 get_performance_info ()
 get_performance_info() pairs up with init_performance_info() loaded in setup.php. More...
 
 performance_measuring_filter_manager::get_performance_summary ()
 Return performance information, in the form required by get_performance_info(). More...
 
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...
 
static get_plugin_list_with_file ($plugintype, $file, $include=false)
 Get a list of all the plugins of a given type that contain a particular file. More...
 
 get_plugin_list_with_file ()
 
 get_plugin_list_with_function ($plugintype, $function, $file='lib.php')
 Get a list of all the plugins of a given type that define a certain API function in a certain file. More...
 
 get_plugin_types ($fullpaths=true)
 Lists all plugin types. More...
 
static get_plugin_types ()
 Get list of available plugin types together with their location. More...
 
static get_plugin_types_with_subplugins ()
 Returns list of plugin types that allow subplugins. More...
 
 get_plugins_with_function ($function, $file='lib.php', $include=true)
 Get a list of all the plugins that define a certain API function in a certain file. More...
 
 get_print_section_cm_text ()
 
 get_real_size ($size=0)
 Converts numbers like 10M into bytes. More...
 
 get_recent_enrolments ()
 
 get_records_csv ()
 
 get_referer ()
 
 get_related_contexts_string ()
 
 get_request_storage_directory ($exceptiononerror=true, bool $forcecreate=false)
 Get a per-request storage directory in the tempdir. More...
 
 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...
 
object get_scales_menu ($courseid=0)
 Returns a menu of all available scales from the site as well as the given course. More...
 
 get_selected_theme_for_device_type ()
 
 get_separator ()
 Return the breadcrumb trail navigation separator. More...
 
 get_site ()
 OTHER SITE AND COURSE FUNCTIONS /////////////////////////////////////////////. More...
 
 get_site_identifier ()
 Returns the site identifier. More...
 
 get_string ($identifier, $component='', $a=null, $lazyload=false)
 
 filter_manager::get_string_filters ($context)
 Get all the filters that apply to a given context for calls to format_string. More...