Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Enroll External Database Release Notes.

Obsolete:Enroll External Database Release Notes: Difference between revisions

From MoodleDocs
(New page: * Prevent multiple execution by setting a flag in the config table. * Makes courses found in the external course table that do not have enrollments. * Implemented the cron method. * Added ...)
(No difference)

Revision as of 23:03, 4 February 2009

  • Prevent multiple execution by setting a flag in the config table.
  • Makes courses found in the external course table that do not have enrollments.
  • Implemented the cron method.
  • Added unlimited execution time and raised memory limit for enrol/database/enrol_database_sync.php
  • Added enrollment periods. The external enroll table can have timestart and timeend for enrollments. Added two new mappings to handle this: enrol_db_remotetimestartfield and enrol_db_remotetimeendfield.
  • Added a new external table that holds course information. The mapping is stored in enrol_coursetable. The following are the available mappings:
    • enrol_coursefullname
    • enrol_courseshortname
    • enrol_courseid: The name of the field where the course ID is stored. The values of this field are used to match those in the "enrol_localcoursefield" field in Moodle's course table.
    • enrol_coursesummary
    • enrol_coursecategory
    • enrol_category_separator
    • enrol_coursestartdate
    • enrol_courseformat
    • enrol_coursetheme
    • enrol_coursepassword
    • enrol_courseguest
    • enrol_coursenumsections
    • enrol_courseidnumber
    • enrol_coursecost
    • enrol_coursenewsitems
    • enrol_courseshowgrades
    • enrol_coursegroupmode
    • enrol_coursegroupmodefoce
    • enrol_coursevisible
    • enrol_courseenrollable
    • enrol_coursetemplate: this mapping can be used to override enrol_db_template to select a different course as a template.
  • enrol_restore_coursetemplate
  • enrol_restore_usetemplate
  • Courses that are found in the external course table and also be updated. This is controlled by the enrol_db_autoupdate setting.
  • Categories can automatically be created if needed. This is controlled by the enrol_autocreate_category setting.