Commit b2b4ec30 authored by Rajesh Taneja's avatar Rajesh Taneja
Browse files

MDL-41283 report_participation: Added phpdoc about function not used

In new logging api, xxx_get_view_actions() and xxx_get_post_actions()
will not be used to identify the paticipation of user. Event's crud
and edulevel status will define user's participation.
parent ff6a853a
......@@ -676,6 +676,13 @@ function survey_print_graph($url) {
}
/**
* List the actions that correspond to a view of this module.
* This is used by the participation report.
*
* Note: This is not used by new logging system. Event with
* crud = 'r' and edulevel = LEVEL_PARTICIPATING will
* be considered as view action.
*
* @return array
*/
function survey_get_view_actions() {
......@@ -683,6 +690,13 @@ function survey_get_view_actions() {
}
/**
* List the actions that correspond to a post of this module.
* This is used by the participation report.
*
* Note: This is not used by new logging system. Event with
* crud = ('c' || 'u' || 'd') and edulevel = LEVEL_PARTICIPATING
* will be considered as post action.
*
* @return array
*/
function survey_get_post_actions() {
......
......@@ -4,6 +4,8 @@ information provided here is intended especially for developers.
=== 2.7 ===
* modgrade form element has been redesigned and allows setting the maximum grade point higher than 100.
* xxx_get_view_actions() and xxx_get_post_actions() will be ignored by new logging system for
participation report. view_action and post_action will be detected by event's crud and edulevel.
=== 2.6 ===
......
......@@ -65,7 +65,13 @@ function url_reset_userdata($data) {
}
/**
* List of view style log actions
* List the actions that correspond to a view of this module.
* This is used by the participation report.
*
* Note: This is not used by new logging system. Event with
* crud = 'r' and edulevel = LEVEL_PARTICIPATING will
* be considered as view action.
*
* @return array
*/
function url_get_view_actions() {
......@@ -73,7 +79,13 @@ function url_get_view_actions() {
}
/**
* List of update style log actions
* List the actions that correspond to a post of this module.
* This is used by the participation report.
*
* Note: This is not used by new logging system. Event with
* crud = ('c' || 'u' || 'd') and edulevel = LEVEL_PARTICIPATING
* will be considered as post action.
*
* @return array
*/
function url_get_post_actions() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment