MDL-15587 - Course Participation report for a feedback activity
authorAndreas Grabs <moodle@grabs-edv.de>
Fri, 24 Jun 2011 21:13:00 +0000 (23:13 +0200)
committerAndreas Grabs <moodle@grabs-edv.de>
Fri, 24 Jun 2011 21:13:00 +0000 (23:13 +0200)
mod/feedback/lib.php

index b777e7e..4724036 100644 (file)
@@ -493,6 +493,20 @@ function feedback_scale_used_anywhere($scaleid) {
     return false;
 }
 
     return false;
 }
 
+/**
+ * @return array
+ */
+function feedback_get_view_actions() {
+    return array('view','view all');
+}
+
+/**
+ * @return array
+ */
+function feedback_get_post_actions() {
+    return array('submit');
+}
+
 /**
  * This function is used by the reset_course_userdata function in moodlelib.
  * This function will remove all responses from the specified feedback
 /**
  * This function is used by the reset_course_userdata function in moodlelib.
  * This function will remove all responses from the specified feedback