Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added functions for participation report: hotpot_get_view_actions + h…

…otpot_get_post_actions
  • Loading branch information...
commit 158210e49fa2476250cc6ea60b43ec44838b8d42 1 parent 85fb025
gbateson authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 mod/hotpot/lib.php
View
7 mod/hotpot/lib.php
@@ -2150,6 +2150,13 @@ function hotpot_string_id($str) {
}
return $id;
}
+function hotpot_get_view_actions() {
+ return array('view','view all','report');
+}
+
+function hotpot_get_post_actions() {
+ return array('attempt','review','submit');
+}
if (!function_exists('file_get_contents')) {
// add this function for php version<4.3
Please sign in to comment.
Something went wrong with that request. Please try again.