How do I make a registration in Moodle, and where the data is recorded?

Asked

Viewed 207 times

1

I am developing a Moodle subscription plugin which generates a ticket from a certain bank, but I have some questions regarding the confirmation of the user’s registration (enrol):

What table is responsible for enrolling a student to a course at Moodle?

What would be the command to effect the inscription?

Moodle documentation is extremely confusing, making it difficult for the developer.

  • No one to help?

  • 1

    Check out these links below. I think they can give you the way. http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjA&url=http%3A%2F%2Fwww.moodlemoot.com.br%2F2013%2Fmoodle%2Fmod%2Fresource%2Fview.php%3Fid%3D50&ei=pbO1VPnGM61sQStm4CYCQ&usg=Afqjcne0km6qgmnpvl72tih9q8yhw&sig2=Ijc0tmcj5ohppjbetmhjjj_A&bvm=bv.83339334,d. cWc http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=5&cad=rja&uact=8&ved=0CDoQFjAE&url=http%3A%2F%2Fbadiu.net%2Fdownload%2Fmoodlemoot%2F20014_floripa%2Fmudanca_arquitetura_banco_moodle_2.ppt&ei=pbO1VPnVGM61sQStm4CYCQ&usg=AFQjCN

1 answer

2


The standard student table is mdl_user. The table where the registration is mdl_role_assignments.

To enter a student, for example, through the bank, you can consult this file, where the Moodle SQL structure is explained.

In this article has a more detailed explanation of how to insert a Moodle student into a new course, but is based on version 1.7.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.