SloodleCourseThe Sloodle course data class
Located in /sloodle/lib/course.php (line 27)
SloodleController
$controller
= null (line 53)
The SloodleController object being used to access this course, if available.
object
$course_object
= null (line 38)
The database object of the course to which this object relates.
Corresponds to the "course" table in Moodle. Is null if not yet set
object
$sloodle_course_data
= null (line 46)
The Sloodle course data object, if it exists.
Is null if not yet set.
Checks whether or not the CURRENTLY LOGGED-IN user can authorise objects on this course.
Is auto enrolment permitted on this site AND course? Takes into account the site-wide setting as well.
Is auto registration permitted on this site AND course? Takes into account the site-wide setting as well.
Deletes the named layout.
Deletes any loginzone allocations for the given user If there are multiple for the same user (which there should never be) it will delete them all.
Disables auto-enrolment for this course.
NOTE: does not affect the site setting.
Disables auto-registration for this course.
NOTE: does not affect the site setting.
Enables auto-enrolment for this course.
NOTE: it may still be disabled at site-level.
Enables auto-registration for this course.
NOTE: it may still be disabled at site-level.
Generates a new LoginZone allocation for the specified user.
Gets the auto enrolment value for this course only.
(Ignores the site setting).
Gets the autoregistration value for this course only.
(Ignores the site setting).
Gets the VLE course object.
WARNING: this should only be used when ABSOLUTELY necessary. The contents are specific to the VLE.
Gets all the entries in the named layout.
Gets an array associating layout ID's to names
Gets the SLurl for the specified user's loginzone alloation
Gets the position of the loginzone as a string vector <x,y,z>
Gets the size of the loginzone as a string vector <x,y,z>
Gets the timestamp of the last time the loginzone was updated
Determines whether or not LoginZone data exists for this course.
Determines whether or not the course is available.
Checks that the course has not been disabled or hidden etc..
Reads fresh data into the structure from the database.
Fetches Moodle and Sloodle data about the course specified. If necessary, it creates a new Sloodle entry with default settings. Returns true if successful, or false on failure.
Loads course and controller data by the unqiue site-wide identifier of a Sloodle controller.
Finds the user identified by LoginZone allocation, and loads it into the given user object.
Note: does not delete the allocation.
Save the given entries in the named profile.
Sets the position of the loginzone as a string vector <x,y,z>
Sets the position of the loginzone as a set of components
Sets the region of the loginzone
Sets the size of the loginzone as a string vector <x,y,z>
Sets the size of the loginzone as a set of components
Sets the timestamp of the last time the loginzone was updated
Writes current Sloodle course data back to the database.
Requires that a course structure has already been retrieved.
Documentation generated on Mon, 16 Jun 2008 15:56:17 +0100 by phpDocumentor 1.4.0