General developer forum

What is SITEID in moodle?

Re: What is SITEID in moodle?
Core developersParticularly helpful MoodlersPlugin 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: -