what is enrolid and how can use this variable?

what is enrolid and how can use this variable?

by reza damavand -
Number of replies: 1

i want to create a new enrolment table in the moodle, but I can't understand one thing that enrolment table send to the ajax.php, there is an enrolid, can any one say what is this varibale and how can use it?

I put an screenshot to see which variable send to the ajax.php.

tnx

Attachment enrolid.png
Average of ratings: -
In reply to reza damavand

Re: what is enrolid and how can use this variable?

by Julia Küfner -

I'm not an enrolement expert. In general the enroleid is the id of the enrolement method that is enabled for the specified course. You find it in enrole in the DB.

vollständige Textfelderidenrolstatuscourseidsortordernameenrolperiodenrolstartdateenrolenddateexpirynotifyexpirythresholdnotifyallpasswordcostcurrencyroleidcustomint1customint2customint3customint4customchar1customchar2customdec1customdec2customtext1customtext2timecreatedtimemodified
Bearbeiten Löschen 1 manual 0 2 0 NULL 0 0 0 0 0 0 NULL NULL NULL 5 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1326902657 1326902657
Bearbeiten Löschen 2 guest 1 2 1 NULL 0 0 0 0 0 0   NULL NULL 0 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 1326902657 1326902657
Bearbeiten Löschen 4 manual 0 3 0 NULL 0  

http://docs.moodle.org/dev/New_enrolments_in_2.0

Average of ratings: Useful (1)