moodle-api

Getting Angular to work with a Moodle webservice

跟風遠走 提交于 2019-11-30 19:11:53
问题 I am building an application to get Json data from a Moodle web service, and using AngularJs to display the data in the app. There are multiple functions on the Moodle webservice, so I need multiple controllers in the Angular app. I am using Visual Studio and Cordova to write the app. I have come up with a solution for getting the token from Moodle, storing it using jstorage, and displaying it on the various panes of the single-page mobile app. With thanks to many other StackOverflow answers

Using MOODLE create users and enroll them in courses via SQL

做~自己de王妃 提交于 2019-11-28 08:50:56
I need to create an extern application that creates, modifies and enroll users of Moodle. I've been reading moodle documentation but its more for front administrators that for developers. How can I do to create a user? which tables hold obligatory information about them? and how do I enroll existing users to moodle? Aschab As answered here creating moodle users and register them on courses programatically by me =3. This works completely extern to moodle. $servername = 'localhost'; $username = 'username'; $password = 'password'; $dbname = 'moodle'; $u_moodle = 'theusernameyouwant'; $hp_moodle =

Using MOODLE create users and enroll them in courses via SQL

空扰寡人 提交于 2019-11-26 23:05:53
问题 I need to create an extern application that creates, modifies and enroll users of Moodle. I've been reading moodle documentation but its more for front administrators that for developers. How can I do to create a user? which tables hold obligatory information about them? and how do I enroll existing users to moodle? 回答1: As answered here creating moodle users and register them on courses programatically by me =3. This works completely extern to moodle. $servername = 'localhost'; $username =