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

In the new (to Moodle 4.0) course format output classes, private properties may instead be better as protected.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 5.0
    • 4.0, 5.0
    • Course

      There are a few properties under course/format/classes/output/local which are private. I don't think there's a need for this, and it may make customisation in course format plugins more difficult.

      The specific properties are:

      • content/cm/cmname.php $section
      • content/cm/groupmode.php $section, get_option_data()
      • content/cm/completion.php get_completion_dialog()
      • content/cm/title.php $section
      • content/cm/visibility.php get_option_data()
      • content/section/cmsummary.php calculate_section_stats()
      • content/section/summary.php $section
      • content/section/visibility get_option_data()
      • content/sectionnavigation.php $data
      • content/cm.php $section
      • content.php get_sections_to_display()

            james-cnz James E. Calder
            james-cnz James E. Calder
            Ferran Recio Ferran Recio
            Amaia Anabitarte Amaia Anabitarte
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 47 minutes
                3h 47m

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