Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $courseid = $PAGE->course->id
- $courseid = optional_param('course', null, PARAM_INT);
- function getCourses(){
- global $COURSE;
- echo $COURSE->id;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement