deraadt / Moodle-block_progress

A time management tool for you and your students
http://moodle.org/plugins/view.php?plugin=block_progress
23 stars 54 forks source link

new files for generate web service to plugin #12

Closed juanCarlos123 closed 6 years ago

juanCarlos123 commented 9 years ago

code in the plugin for add web_service functions.

blocks_progress_pbinst -> Returns Progress Bar instances ids for a given course Return object { numevents int //Number of activities monitored by the Progress Bar numattempts int //Number of activities completed by the user progressvalue int //Percentage of completed activities }

blocks_progress_cinfo -> Returns completion information monitored by a progress bar block Return object { int //Progress Bar instance id }

deraadt commented 9 years ago

Hi, Juan. Can I ask what you're using these web services for? Is it used for an external intervention tool?

juanCarlos123 commented 9 years ago

yes , it is used in a connection between Drupal and Moodle, to get the progress