|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| block_community_add_course ($course, $userid) | |
| block_community_get_courses ($userid) | |
| block_community_get_course ($courseurl, $userid) | |
| block_community_download_course_backup ($course) | |
| block_community_remove_course ($communityid, $userid) | |
Definition at line 27 of file locallib.php.
| block_community_add_course | ( | $ | course, |
| $ | userid | ||
| ) |
Add a community course
| object | $course | |
| integer | $userid |
Definition at line 35 of file locallib.php.

| block_community_download_course_backup | ( | $ | course | ) |
Download the community course backup and save it in file API
| integer | $courseid | |
| string | $huburl |
Definition at line 81 of file locallib.php.

| block_community_get_course | ( | $ | courseurl, |
| $ | userid | ||
| ) |
Return a community courses of a user
| integer | $userid | |
| integer | $userid |
Definition at line 68 of file locallib.php.

| block_community_get_courses | ( | $ | userid | ) |
Return all community courses of a user
| integer | $userid |
Definition at line 57 of file locallib.php.
| block_community_remove_course | ( | $ | communityid, |
| $ | userid | ||
| ) |
Delete a community course
| integer | $communityid | |
| integer | $userid |
Definition at line 140 of file locallib.php.