Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29602 cleanup and improve acccesslib META
  3. MDL-29609

refactor context related functions to class structure

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1
    • Roles / Access
    • MOODLE_21_STABLE

      It is relatively difficult to add new context levels, in the future we could add tenant and cohort context, it should be relatively easy to create a new OOP api for most context operations.

      The only problem is how to call the parent 'context' class, hopefully no other PHP project is using 'context' class. We could use something else like mcontext or moodle_context, but it would be a lot of typing in the future....

            skodak Petr Skoda
            skodak Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.