|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| profile_field_checkbox ($fieldid=0, $userid=0) | |
| edit_field_add (&$mform) | |
| display_data () | |
Definition at line 3 of file field.class.php.
| display_data | ( | ) |
Display the data for this field
Reimplemented from profile_field_base.
Definition at line 40 of file field.class.php.
| edit_field_add | ( | &$ | mform | ) |
Abstract method: Adds the profile field to the moodle form class
| form | instance of the moodleform class |
Create the form field
Reimplemented from profile_field_base.
Definition at line 25 of file field.class.php.

| profile_field_checkbox | ( | $ | fieldid = 0, |
| $ | userid = 0 |
||
| ) |
Constructor method. Pulls out the options for the checkbox from the database and sets the the corresponding key for the data if it exists
Definition at line 10 of file field.class.php.
