Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-44640

Events for managing enrolment instances

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.2
    • 3.0
    • Enrolments, Events API
    • MOODLE_26_STABLE
    • MOODLE_30_STABLE
    • wip-MDL-44640-master
    • Hide
      1. Create a course and add instances of the following enrolment instances:
        • cohort
        • guest
        • manual
        • paypal
        • self
      2. Edit each instance using the edit settings form and change something there
      3. Look at the events log and make sure that there were events for each edit action

      P.S. only these enrolment methods have edit forms

      1. for any enrolment method create an instance, change visibility and delete it
      2. make sure all three events appear in the log
      Show
      Create a course and add instances of the following enrolment instances: cohort guest manual paypal self Edit each instance using the edit settings form and change something there Look at the events log and make sure that there were events for each edit action P.S. only these enrolment methods have edit forms for any enrolment method create an instance, change visibility and delete it make sure all three events appear in the log

    Description

      Would be nice if abstract class enrol_plugin add_instance and delete_instance methods (and more..?) would trigger events that could be observed

      Make sure that every action on the course>Enroment methods has an event: Adding, changing an instance, disabling/enabling, changing the order

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              pholden Paul Holden
              David Monllaó David Monllaó
              Dan Poltawski Dan Poltawski
              Damyon Wiese Damyon Wiese
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Nov/15