Good call. Ill start using that from now on. Just out of interest, the $USER and $COURSE objects can be accessed in moodle 1.9 like
global $USER;
$id = $USER->id;
Are there any other useful objects in moodle we can call in the same way?
Good call. Ill start using that from now on. Just out of interest, the $USER and $COURSE objects can be accessed in moodle 1.9 like
global $USER;
$id = $USER->id;
Are there any other useful objects in moodle we can call in the same way?