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

Public Member Functions

 get_data ()
 set_data ($data)
 definition ()

Detailed Description

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


Member Function Documentation

Abstract method - always override!

Reimplemented from moodleform.

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

Here is the call graph for this function:

get_data ( )

Return submitted data if properly submitted or returns NULL if validation fails or if there is no submitted data.

note: $slashed param removed

Returns:
object submitted data; NULL if not valid or not submitted or cancelled

Reimplemented from moodleform.

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

set_data ( default_values)

Load in existing data as form defaults. Usually new entry defaults are stored directly in form definition (new entry form); this function is used to load in data where values already exist and data is being edited (edit entry form).

note: $slashed param removed

Parameters:
mixed$default_valuesobject or array of default values

Reimplemented from moodleform.

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


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