[system] / trunk / wwmoodle / wwassignment4 / moodle / mod / wwassignment / lib.php Repository:
ViewVC logotype

Diff of /trunk/wwmoodle/wwassignment4/moodle/mod/wwassignment/lib.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5882 Revision 5883
470} 470}
471 471
472 472
473 473
474function wwassignment_delete_course() { 474function wwassignment_delete_course() {
475 error_log("Begin wwassignment_delete_course --not used yet");
475} 476}
476 477
477function wwassignment_process_options() { 478function wwassignment_process_options() {
479 error_log("Begin wwassignment_process_options --not used yet");
480
478} 481}
479 482
480function wwassignment_reset_course_form() { 483function wwassignment_reset_course_form() {
484 error_log("Begin wwassignment_reset_course_form --not used yet");
481} 485}
482 486
483function wwassignment_delete_userdata() { 487function wwassignment_delete_userdata() {
488 error_log("Begin wwassignment_delete_userdata --not used yet");
484 489
485} 490}
486 491
487/** 492/**
488* @desc Finds recent activity that has occured in wwassignment activities. 493* @desc Finds recent activity that has occured in wwassignment activities.
489*/ 494*/
490function wwassignment_print_recent_activity($course, $isteacher, $timestart) { 495function wwassignment_print_recent_activity($course, $isteacher, $timestart) {
491 global $CFG; 496 global $CFG;
497 error_log("Begin wwassignment_print_recent_activity --not used yet");
498
492 return false; // True if anything was printed, otherwise false 499 return false; // True if anything was printed, otherwise false
493} 500}
494 501
495/** 502/**
496* @desc Function that is run by the cron job. This makes sure that all data is pushed to webwork. 503* @desc Function that is run by the cron job. This makes sure that all data is pushed to webwork.
511* @param string $wwassignmentid The Moodle wwassignment ID. 518* @param string $wwassignmentid The Moodle wwassignment ID.
512* @return array An array of course users (IDs). 519* @return array An array of course users (IDs).
513*/ 520*/
514 521
515function wwassignment_get_participants($wwassignmentid) { 522function wwassignment_get_participants($wwassignmentid) {
516 error_log("wwassignment_get_participants");
517 $wwassignment = get_record('wwassignment', 'id', $wwassignmentid); 523 $wwassignment = get_record('wwassignment', 'id', $wwassignmentid);
518 if(!isset($wwassignment)) { 524 if(!isset($wwassignment)) {
519 return array(); 525 return array();
520 } 526 }
521 return _wwassignment_get_course_students( $wwassignment->course ); 527 return _wwassignment_get_course_students( $wwassignment->course );

Legend:
Removed from v.5882  
changed lines
  Added in v.5883

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9