Moodle API - Add / Remove Classes

Moodle API - Add / Remove Classes

- Cory B の投稿
返信数: 3
Hello,

I've looked through the Moodle API (http://moodle.org/mod/resource/view.php?id=1267), but haven't seen any way to script the creation or removal of courses. Is there any way to do this? If not, is there any reason to not add something like this to the Moodle API?

Thanks.
Cory B への返信

Re: Moodle API - Add / Remove Classes

- Martin Dougiamas の投稿
画像 Core developers 画像 Documentation writers 画像 Moodle HQ 画像 Particularly helpful Moodlers 画像 Plugin developers 画像 Testers
A web service will come eventually, but for now people just knock up little custom scripts (it's easy, because each course is just one record in the courses table)
Martin Dougiamas への返信

Re: Moodle API - Add / Remove Classes

- Cory B の投稿
Yeah, it looks pretty easy to script. Is there any reason to not add something like this to the Moodle API?