General developer forum

What is SITEID in moodle?

 
Davo
Re: What is SITEID in moodle?
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developers

context_course::instance(SITEID) - this is the context for the front page for the site - so the function is giving a list of the roles that can be assigned to the front page course.

 
Average of ratings: -