SloodleLSLHandlerA helper class to automate many API features.
Most interaction with the object-oriented parts of the Sloodle API should occur via this class. It brings together the other classes, and automatically handles various features.
Located in /lib/sl_lsllib.php (line 33)
SloodleLSLRequest
$request
= NULL (line 53)
A Sloodle request handling object.
Instantiated to the {@link: SloodleLSLRequest} type in the class constructor. No accessors - should be accessed directly.
SloodleLSLHandler
$response
= NULL (line 62)
A Sloodle response handling object.
Instantiated to the {@link: SloodleLSLResponse} type in the class constructor. No accessors - should be accessed directly.
SloodleUser
$user
= NULL (line 44)
A Sloodle user object.
Instantiated to the {@link: SloodleUser} type in the class constructor. No accessors - should be accessed directly.
Class constructor.
Instantiates member objects.
Authenticates the avatar identified in the request by the login security token.
Uses the avatar UUID and/or name, and the security token request to parameters to check against the details in the database.
Checks that a user is enrolled in a course, based on request data.
Fetches user and course identification from the standard request parameters.
Performs an internal 'login' based on user identified in request.
Checks for avatar UUID and/or name request parameters, and checks for an associated Moodle account. If found, the user is logged-in (details stored in Moodle's global $USER variable).
Documentation generated on Tue, 04 Mar 2008 15:08:48 +0000 by phpDocumentor 1.4.0