Moodle  2.2.1
http://www.collinsharper.com
assignment_uploadsingle Class Reference
Inheritance diagram for assignment_uploadsingle:
Collaboration diagram for assignment_uploadsingle:

Public Member Functions

 print_student_answer ($userid, $return=false)
 assignment_uploadsingle ($cmid='staticonly', $assignment=NULL, $cm=NULL, $course=NULL)
 view ()
 process_feedback ()
 print_responsefiles ($userid, $return=false)
 can_manage_responsefiles ()
 view_upload_form ()
 upload ($mform)
 upload_file ($mform)
 upload_responsefile ($mform)
 setup_elements (&$mform)
 portfolio_exportable ()
 send_file ($filearea, $args)
 extend_settings_navigation ($node)
 download_submissions ()
 is_submitted_with_required_data ($submission)

Detailed Description

Definition at line 27 of file assignment.class.php.


Member Function Documentation

assignment_uploadsingle ( cmid = 'staticonly',
assignment = NULL,
cm = NULL,
course = NULL 
)

Definition at line 56 of file assignment.class.php.

Here is the call graph for this function:

Definition at line 132 of file assignment.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

creates a zip of all assignment submissions and sends a zip to the browser

Definition at line 356 of file assignment.class.php.

Here is the call graph for this function:

Definition at line 310 of file assignment.class.php.

Here is the call graph for this function:

Check the given submission is complete. Preliminary rows are often created in the assignment_submissions table before a submission actually takes place. This function checks to see if the given submission has actually been submitted.

Parameters:
stdClass$submissionThe submission we want to check for completion
Returns:
bool Indicates if the submission was found to be complete

Reimplemented from assignment_base.

Definition at line 405 of file assignment.class.php.

Reimplemented from assignment_base.

Definition at line 274 of file assignment.class.php.

print_responsefiles ( userid,
return = false 
)

Definition at line 106 of file assignment.class.php.

Here is the call graph for this function:

print_student_answer ( userid,
return = false 
)

Definition at line 30 of file assignment.class.php.

Here is the call graph for this function:

Definition at line 96 of file assignment.class.php.

Here is the call graph for this function:

send_file ( filearea,
args 
)
Parameters:
string$filearea
array$args
Returns:
bool

Reimplemented from assignment_base.

Definition at line 278 of file assignment.class.php.

Here is the call graph for this function:

setup_elements ( &$  mform)
Todo:
Document this function

Reimplemented from assignment_base.

Definition at line 252 of file assignment.class.php.

Here is the call graph for this function:

upload ( mform)

Definition at line 159 of file assignment.class.php.

Here is the call graph for this function:

upload_file ( mform)

Definition at line 170 of file assignment.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

upload_responsefile ( mform)

Definition at line 228 of file assignment.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:

view ( )

Display the assignment, used by view.php

This in turn calls the methods producing individual parts of the page

Reimplemented from assignment_base.

Definition at line 61 of file assignment.class.php.

Here is the call graph for this function:

Definition at line 140 of file assignment.class.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations