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

Public Member Functions

 profile_field_checkbox ($fieldid=0, $userid=0)
 edit_field_add (&$mform)
 display_data ()

Detailed Description

Definition at line 3 of file field.class.php.


Member Function Documentation

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

Parameters:
forminstance of the moodleform class

Create the form field

Reimplemented from profile_field_base.

Definition at line 25 of file field.class.php.

Here is the call graph for this function:

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.

Here is the call graph for this function:


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