mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-72578 core_courseformat: fix renderers deprecation messages
This commit is contained in:
parent
fb753618a8
commit
d4bebe639f
@ -31,7 +31,7 @@ use cm_info;
|
||||
/**
|
||||
* Class to prepare a course module name for display and in-place editing
|
||||
*
|
||||
* @deprecated since Moodle 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this class any more.
|
||||
* @package core_course
|
||||
* @copyright 2016 Marina Glancy
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
|
@ -201,7 +201,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate the edit control action menu
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* The section edit controls are now part of the main section_format output and does
|
||||
* not use renderer methods anymore.
|
||||
@ -250,7 +250,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
* Generate the content to displayed on the right part of a section
|
||||
* before course modules are included
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* Spatial references like "left" or "right" are limiting the way formats and themes can
|
||||
* extend courses. The elements from this method are now included in the section_format
|
||||
@ -278,7 +278,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
* Generate the content to displayed on the left part of a section
|
||||
* before course modules are included
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* Spatial references like "left" or "right" are limiting the way formats and themes can
|
||||
* extend courses. The elements from this method are now included in the section_format
|
||||
@ -310,7 +310,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
* Generate the display of the header part of a section before
|
||||
* course modules are included
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -385,7 +385,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate the display of the footer part of a section.
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is integrated into section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -416,7 +416,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate the edit control items of a section
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -448,7 +448,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate a summary of a section for display on the 'course index page'
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -518,7 +518,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate a summary of the activites in a section
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -550,7 +550,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
* are going to be unavailable etc). This logic is the same as for
|
||||
* activities.
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -576,7 +576,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Displays availability information for the section (hidden, not available unles, etc.)
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -597,7 +597,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Show if something is on on the course clipboard (moving around)
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* While the non ajax course eidtion is still supported, the old clipboard will be
|
||||
* emulated by core_courseformat\output\local\content\section\cmlist.
|
||||
@ -634,7 +634,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate next/previous section links for naviation.
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -691,7 +691,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate the header html of a stealth section
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -726,7 +726,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate footer html of a stealth section
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -775,7 +775,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate the html for the 'Jump to' menu on a single section page.
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This element is now a section_format output component and it is displayed using
|
||||
* mustache templates instead of a renderer method.
|
||||
@ -1053,7 +1053,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Returns controls in the bottom of the page to increase/decrease number of sections
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* @param stdClass $course
|
||||
* @param int|null $sectionreturn
|
||||
@ -1074,7 +1074,7 @@ abstract class section_renderer extends core_course_renderer {
|
||||
/**
|
||||
* Generate html for a section summary text
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* @param stdClass $section The course_section entry from DB
|
||||
* @return string HTML to output.
|
||||
|
@ -17,7 +17,7 @@
|
||||
/**
|
||||
* Legacy file to aviod exceptions when formats require it.
|
||||
*
|
||||
* @deprecated since Moodle 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656
|
||||
* @package format_topics
|
||||
* @copyright 2021 Ferran Recio <ferran@moodle.com>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
|
@ -206,7 +206,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
/**
|
||||
* Renders HTML for displaying the sequence of course module editing buttons
|
||||
*
|
||||
* @deprecated since 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
*
|
||||
* @see course_get_cm_edit_actions()
|
||||
*
|
||||
@ -567,7 +567,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
* Checks if course module has any conditions that may make it unavailable for
|
||||
* all or some of the students
|
||||
*
|
||||
* @deprecated since Moodle 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
*
|
||||
* @param cm_info $mod
|
||||
* @return bool
|
||||
@ -597,7 +597,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
* Note, that for course modules that never have separate pages (i.e. labels)
|
||||
* this function return an empty string
|
||||
*
|
||||
* @deprecated since 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
*
|
||||
* @param cm_info $mod
|
||||
* @param array $displayoptions
|
||||
@ -638,7 +638,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
/**
|
||||
* Returns the CSS classes for the activity name/content
|
||||
*
|
||||
* @deprecated since Moodle 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
*
|
||||
* For items which are hidden, unavailable or stealth but should be displayed
|
||||
* to current user ($mod->is_visible_on_course_page()), we show those as dimmed.
|
||||
@ -678,7 +678,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
* Note, that for course modules that never have separate pages (i.e. labels)
|
||||
* this function return an empty string
|
||||
*
|
||||
* @deprecated since Moodle 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
*
|
||||
* @param cm_info $mod
|
||||
* @param array $displayoptions
|
||||
@ -736,7 +736,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
/**
|
||||
* Renders html to display the module content on the course page (i.e. text of the labels)
|
||||
*
|
||||
* @deprecated since 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
*
|
||||
* @param cm_info $mod
|
||||
* @param array $displayoptions
|
||||
@ -811,7 +811,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
* Renders HTML to show course module availability information (for someone who isn't allowed
|
||||
* to see the activity itself, or for staff)
|
||||
*
|
||||
* @deprecated since Moodle 4.0
|
||||
* @deprecated since Moodle 4.0 MDL-72656 - please do not use this function any more.
|
||||
* @param cm_info $mod
|
||||
* @param array $displayoptions
|
||||
* @return string
|
||||
@ -873,7 +873,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
* This includes link, content, availability, completion info and additional information
|
||||
* that module type wants to display (i.e. number of unread forum posts)
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* @param stdClass $course
|
||||
* @param completion_info $completioninfo
|
||||
@ -941,7 +941,7 @@ class core_course_renderer extends plugin_renderer_base {
|
||||
* Renders HTML to display a list of course modules in a course section
|
||||
* Also displays "move here" controls in Javascript-disabled mode.
|
||||
*
|
||||
* @deprecated since 4.0 - use core_course output components instead.
|
||||
* @deprecated since 4.0 MDL-72656 - use core_course output components instead.
|
||||
*
|
||||
* This function calls {@link core_course_renderer::course_section_cm()}
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user