WeBWorK::Request - a request to the WeBWorK system, a subclass of Apache::Request with additional WeBWorK-specific fields.
new(@args)
Creates an new WeBWorK::Request. All arguments are passed to Apache::Request's constructor. You must specify at least an Apache request_rec object.
From: http://search.cpan.org/~joesuf/libapreq-1.3/Request/Request.pm#SUBCLASSING_Apache::Request
If the instances of your subclass are hash references then you can actually inherit from Apache::Request as long as the Apache::Request object is stored in an attribute called ``r'' or ``_r''. (The Apache::Request class effectively does the delegation for you automagically, as long as it knows where to find the Apache::Request object to delegate to.)
ce([$new])
Return the course environment (WeBWorK::CourseEnvironment) associated with this request. If $new is specified, set the course environment to $new before returning the value.
db([$new])
Return the database (WeBWorK::DB) associated with this request. If $new is specified, set the database to $new before returning the value.
authz([$new])
Return the authorizer (WeBWorK::Authz) associated with this request. If $new is specified, set the authorizer to $new before returning the value.
urlpath([$new])
Return the URL path (WeBWorK::URLPath) associated with this request. If $new is specified, set the URL path to $new before returning the value.