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

Deprecate old course renderer methods

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • DEV backlog
    • None
    • Course

    Description

      In Moodle 4.0 many of the old course and course format renderer methods are replaced by output components and templates (see course/upgadre.txt for more information).

      • The format_base is now deprecated (replaced by core_courseformat\base instead)
      • output\course_format: to render the general course structure
      • output\section_format: to render a section
      • output\cm_format: to render an activity card inside a section
      • output\course_format*: to render parts of the course structure
      • output\section_format*: to render parts of the course section
      • print_single_section_page (replaced by output\course_format)
      • print_multiple_section_page (replaced by output\course_format)
      • course_activity_clipboard (integrated in replaced by output\course_format)
      • format_summary_text (replaced by output\section_format\summay)
      • change_number_sections (replaced by output\course_format\addsection)
      • course_section_cm_list_item (replaced by output\section_format\cmitem)
      • course_section_cm (replaced by output\cm_format)
      • course_section_cm_list (replaced by output\section_format\cmlist)
      • section_edit_control_menu (replaced by output\section_format\controlmenu)
      • section_right_content (integrated in output\section_format)
      • section_left_content (integrated in output\section_format)
      • section_header (replaced by output\section_format\header)
      • section_footer (integrated in output\section_format)
      • section_edit_control_items (replaced by output\section_format\controlmenu)
      • section_summary (replaced by output\section_format\summary)
      • section_activity_summary (replaced by output\section_format\cmsummary)
      • section_availability_message (integrated in output\section_format\availability)
      • section_availability (replaced by output\section_format\availability)
      • get_nav_links (replaced by output\course_format\sectionnavigation)
      • stealth_section_header (replaced by output\section_format\header)
      • stealth_section_footer (integrated in by output\section_format)
      • section_nav_selection (replaced by output\course_format\sectionselector)
      • course_section_cm_edit_actions (replaced by core_courseformat\output\local\content\cm
        controlmenu)
      • is_cm_conditionally_hidden (incorporated in core_availability\info_module::is_available_for_all)
      • course_section_cm_name (replaced by core_courseformat\output\local\content\cm
        cmname)
      • course_section_cm_classes (integrated in core_courseformat\output\local\content\cm)
      • course_section_cm_name_title (replaced by core_courseformat\\output\\local
        cm
        title)
      • course_section_cm_text (integrated in core_courseformat\\output\\local
        content
        cm)
      • course_section_cm_availability (replaced by core_courseformat\\output\\local\\content
        cm
        availability))
      • Class core_course\output\course_module_name is deprecated. Now core_courseformat\output\local\cm\cmname controls inline edit.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tusefomal Ferran Recio
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: