SloodleModuleSloodleObjectThe Sloodle Object assignment module class.
Located in /sloodle/lib/modules/module_sloodleobject.php (line 30)
SloodleModule | --SloodleModuleSloodleObject
bool
submit
(SloodleUser $user, string $obj_name, int $num_prims, string $primdrop_name, string $primdrop_uuid, string $primdrop_region, string $primdrop_pos)
assignment_sloodleobject
$assignment
= null (line 55)
Internal only - the Moodle assignment structure.
object
$cm
= null (line 40)
Internal for Moodle only - course module instance.
Corresponds to one record from the Moodle 'course_modules' table.
object
$moodle_assignment_instance
= null (line 48)
Internal only - Moodle assignment module instance database object.
Corresponds to one record from the Moodle 'assignment' table.
Inherited from SloodleModule
SloodleModule::$_session
Constructor
Gets the identifier of the course this controller belongs to.
Gets the time at which this instance was created, or 0 if unknown.
Gets the intro description of this module instance, if available.
Gets the time at which this instance was last modified, or 0 if unknown.
Gets the name of this module instance.
Gets the short type name of this instance.
Gets the full type name of this instance, according to the current language pack, if available.
Note: should be overridden by sub-classes.
Checks if an assignment submitted at the specified time would be too early for submission.
Checks if an assignment submitted at the specified time would be too late for submission.
Loads data from the database.
Note: even if the function fails, it may still have overwritten some or all existing data in the object.
Add a new submission (or replace an existing one).
Ignores all submission checks, such as permissions and time.
Checks if the specified user is permitted to submit to this assignment.
(Note: this only checks permissions, and no other settings, such as submission times).
Checks if the specified user is permitted to view submissions to this assignment.
Checks if the specified user has submitted to this assignment already.
Inherited From SloodleModule
SloodleModule::SloodleModule()
SloodleModule::get_course_id()
SloodleModule::get_creation_time()
SloodleModule::get_intro()
SloodleModule::get_modification_time()
SloodleModule::get_name()
SloodleModule::get_type()
SloodleModule::get_type_full()
SloodleModule::load()
Documentation generated on Mon, 16 Jun 2008 15:56:49 +0100 by phpDocumentor 1.4.0