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

Function for getting enrolled users with enrolment status

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: DEV backlog
    • Component/s: Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      For the first time such function would have been needed in the grader report (MDL-26835). It was not implemented in accesslib.php but in grader report. MDL-27322 requests similar functionality to MDL-26835. At this moment I am rewriting attendance module for Moodle 2.0 and I need function that can return enrolled users (user fields + enrolment status) with specified capability ('mod/attforblock:canbelisted') and optionally group.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aav Artem Andreev
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: