| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Completion external API
| Copyright: | 2015 Juan Leyva <juan@moodle.com> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 463 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
core_completion_external:: (12 methods):
update_activity_completion_status_manually_parameters()
update_activity_completion_status_manually()
update_activity_completion_status_manually_returns()
get_activities_completion_status_parameters()
get_activities_completion_status()
get_activities_completion_status_returns()
get_course_completion_status_parameters()
get_course_completion_status()
get_course_completion_status_returns()
mark_course_self_completed_parameters()
mark_course_self_completed()
mark_course_self_completed_returns()
Class: core_completion_external - X-Ref
Completion external functions| update_activity_completion_status_manually_parameters() X-Ref |
| Describes the parameters for update_activity_completion_status_manually. return: external_external_function_parameters |
| update_activity_completion_status_manually($cmid, $completed) X-Ref |
| Update completion status for the current user in an activity, only for activities with manual tracking. param: int $cmid Course module id param: bool $completed Activity completed or not return: array Result and possible warnings |
| update_activity_completion_status_manually_returns() X-Ref |
| Describes the update_activity_completion_status_manually return value. return: external_single_structure |
| get_activities_completion_status_parameters() X-Ref |
| Returns description of method parameters return: external_function_parameters |
| get_activities_completion_status($courseid, $userid) X-Ref |
| Get Activities completion status param: int $courseid ID of the Course param: int $userid ID of the User return: array of activities progress and warnings |
| get_activities_completion_status_returns() X-Ref |
| Returns description of method result value return: external_description |
| get_course_completion_status_parameters() X-Ref |
| Returns description of method parameters return: external_function_parameters |
| get_course_completion_status($courseid, $userid) X-Ref |
| Get Course completion status param: int $courseid ID of the Course param: int $userid ID of the User return: array of course completion status and warnings |
| get_course_completion_status_returns() X-Ref |
| Returns description of method result value return: external_description |
| mark_course_self_completed_parameters() X-Ref |
| Describes the parameters for mark_course_self_completed. return: external_external_function_parameters |
| mark_course_self_completed($courseid) X-Ref |
| Update the course completion status for the current user (if course self-completion is enabled). param: int $courseid Course id return: array Result and possible warnings |
| mark_course_self_completed_returns() X-Ref |
| Describes the mark_course_self_completed return value. return: external_single_structure |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |