MDL-58507 core: link functions with final deprecation issue

This commit is contained in:
Mark Nelson 2017-04-11 18:12:08 +08:00
parent bd99cb9021
commit 063b7ee647
9 changed files with 18 additions and 14 deletions

View File

@ -2662,7 +2662,7 @@ class core_course_external extends external_api {
* Returns description of method parameters
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @return external_function_parameters
* @since Moodle 3.2
*/
@ -2678,7 +2678,7 @@ class core_course_external extends external_api {
* Return activities overview for the given courses.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @param array $courseids a list of course ids
* @return array of warnings and the activities overview
* @since Moodle 3.2
@ -2737,7 +2737,7 @@ class core_course_external extends external_api {
* Returns description of method result value
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @return external_description
* @since Moodle 3.2
*/

View File

@ -6551,6 +6551,7 @@ function calendar_preferences_button(stdClass $course) {
* Return the name of the weekday
*
* @deprecated since 3.3
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57617.
* @param string $englishname
* @return string of the weekeday
*/
@ -6563,6 +6564,7 @@ function calendar_wday_name($englishname) {
* Get the upcoming event block.
*
* @deprecated since 3.3
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57617.
* @param array $events list of events
* @param moodle_url|string $linkhref link to event referer
* @param boolean $showcourselink whether links to courses should be shown
@ -6583,6 +6585,7 @@ function calendar_get_block_upcoming($events, $linkhref = null, $showcourselink
* Display month selector options.
*
* @deprecated since 3.3
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57617.
* @param string $name for the select element
* @param string|array $selected options for select elements
*/
@ -6600,6 +6603,7 @@ function calendar_print_month_selector($name, $selected) {
* Update calendar subscriptions.
*
* @deprecated since 3.3
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57617.
* @return bool
*/
function calendar_cron() {

View File

@ -491,7 +491,7 @@ function assign_page_type_list($pagetype, $parentcontext, $currentcontext) {
* for the courses.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @param mixed $courses The list of courses to print the overview for
* @param array $htmlarray The array of html to return
* @return true
@ -634,7 +634,7 @@ function assign_print_overview($courses, &$htmlarray) {
* assignment.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @param array $mysubmissions list of submissions of current user indexed by assignment id.
* @param string $sqlassignmentids sql clause used to filter open assignments.
* @param array $assignmentidparams sql params used to filter open assignments.
@ -724,7 +724,7 @@ function assign_get_mysubmission_details_for_print_overview(&$mysubmissions, $sq
* assignment's submissions.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @param array $unmarkedsubmissions list of submissions of that are currently unmarked indexed by assignment id.
* @param string $sqlassignmentids sql clause used to filter open assignments.
* @param array $assignmentidparams sql params used to filter open assignments.

View File

@ -1130,7 +1130,7 @@ function chat_get_post_actions() {
/**
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @global object
* @global object
* @param array $courses

View File

@ -923,7 +923,7 @@ function choice_page_type_list($pagetype, $parentcontext, $currentcontext) {
* and it is available for completing.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @uses CONTEXT_MODULE
* @param array $courses An array of course objects to get choice instances from.
* @param array $htmlarray Store overview output array( course ID => 'choice' => HTML output )

View File

@ -1333,7 +1333,7 @@ function forum_user_complete($course, $user, $mod, $forum) {
* Filters the forum discussions according to groups membership and config.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @since Moodle 2.8, 2.7.1, 2.6.4
* @param array $discussions Discussions with new posts array
* @return array Forums with the number of new posts
@ -1398,7 +1398,7 @@ function forum_is_user_group_discussion(cm_info $cm, $discussiongroupid) {
/**
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @global object
* @global object
* @global object

View File

@ -532,7 +532,7 @@ function lesson_user_complete($course, $user, $mod, $lesson) {
* and it is available for taking.
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @global object
* @global stdClass
* @global object

View File

@ -1555,8 +1555,8 @@ function quiz_reset_userdata($data) {
* Prints quiz summaries on MyMoodle Page
*
* @deprecated since 3.3
*
* @param arry $courses
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @param array $courses
* @param array $htmlarray
*/
function quiz_print_overview($courses, &$htmlarray) {

View File

@ -1091,7 +1091,7 @@ function scorm_debug_log_remove($type, $scoid) {
* writes overview info for course_overview block - displays upcoming scorm objects that have a due date
*
* @deprecated since 3.3
*
* @todo The final deprecation of this function will take place in Moodle 3.7 - see MDL-57487.
* @param object $type - type of log(aicc,scorm12,scorm13) used as prefix for filename
* @param array $htmlarray
* @return mixed