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

Global Navigation functions marked as Protected

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.4, 2.5
    • Navigation
    • None
    • MOODLE_24_STABLE, MOODLE_25_STABLE

      This is a follow up to MDL-35713.

      There are a number of functions in the global_navigation object that are marked as protected but could very useful when extending the navigation (e.g. in a course format).

      In the first instance the generate_sections_and_activities() & load_Session-activities() functions would be my candidates...

      These are great functions as they're already doing most of the heavy lifting and they return the navigation object nodes to to further putzing with, before we actually set them on the navigation object!

      Also being able to check some of the navigation object's properties (such as showemptysections which is marked as protected but doesn't have a getter method) would be helpful.

            Unassigned Unassigned
            mhughes2k Michael Hughes
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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