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

Public Member Functions

 definition ()
 set_data ($item)
 get_data ()

Protected Attributes

 $type = "multichoice"

Detailed Description

Definition at line 19 of file multichoice_form.php.


Member Function Documentation

Abstract method - always override!

Reimplemented from feedback_item_form.

Definition at line 22 of file multichoice_form.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 93 of file multichoice_form.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 79 of file multichoice_form.php.

Here is the caller graph for this function:


Field Documentation

$type = "multichoice" [protected]

Definition at line 20 of file multichoice_form.php.


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