| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilMemberAgreementGUI:
 Collaboration diagram for ilMemberAgreementGUI:| Public Member Functions | |
| __construct ($a_ref_id) | |
| Constructor. | |
| executeCommand () | |
| Execute Command. | |
| getPrivacy () | |
| Get privycy settings. | |
| getAgreement () | |
| Static Public Member Functions | |
| static | addExportFieldInfo ($form, $a_obj_id, $a_type) | 
| Add export field info to form  type $lng. | |
| static | addAgreement ($form, $a_obj_id, $a_type) | 
| Add agreement to form. | |
| static | addCustomFields ($form, $a_obj_id, $a_type) | 
| Add custom course fields. | |
| static | saveCourseDefinedFields (ilPropertyFormGUI $form, $a_obj_id) | 
| Save course defined fields. | |
| Protected Member Functions | |
| showAgreement (ilPropertyFormGUI $form=null) | |
| Show agreement form. | |
| initFormAgreement () | |
| Private Member Functions | |
| save () | |
| Save. | |
| checkAgreement () | |
| Check Agreement. | |
| init () | |
| Read setting. | |
| sendInfoMessage () | |
| Send info message. | |
| Private Attributes | |
| $ref_id | |
| $obj_id | |
| $type | |
| $db | |
| $ctrl | |
| $lng | |
| $tpl | |
| $privacy | |
| $agreement | |
| $required_fullfilled = false | |
| $agrement_required = false | |
| ilMemberAgreementGUI::__construct | ( | $a_ref_id | ) | 
Constructor.
public
Definition at line 41 of file class.ilMemberAgreementGUI.php.
References $ilCtrl, $ilUser, $lng, $obj_id, $tpl, ilPrivacySettings\_getInstance(), ilObject\_lookupType(), and init().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Add agreement to form.
| type | $form | |
| type | $a_obj_id | |
| type | $a_type | 
Definition at line 168 of file class.ilMemberAgreementGUI.php.
References $agreement, and $lng.
Referenced by ilRegistrationGUI\fillAgreement(), and initFormAgreement().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Add custom course fields.
| type | $form | |
| type | $a_obj_id | |
| type | $a_type | 
Definition at line 187 of file class.ilMemberAgreementGUI.php.
References $lng, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), ilTextInputGUI\setSize(), and ilNonEditableValueGUI\setValue().
Referenced by ilRegistrationGUI\fillAgreement(), and initFormAgreement().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Add export field info to form type $lng.
| type | $form | |
| type | $a_obj_id | |
| type | $a_type | 
Definition at line 140 of file class.ilMemberAgreementGUI.php.
References $lng, $tpl, ilExportFieldsInfo\_getInstanceByType(), ilObject\_lookupType(), and ilCustomInputGUI\setHtml().
Referenced by ilRegistrationGUI\fillAgreement(), and initFormAgreement().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Check Agreement.
private
Definition at line 352 of file class.ilMemberAgreementGUI.php.
References $_POST, and $ilUser.
Referenced by save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilMemberAgreementGUI::executeCommand | ( | ) | 
| ilMemberAgreementGUI::getAgreement | ( | ) | 
Definition at line 93 of file class.ilMemberAgreementGUI.php.
References $agreement.
Referenced by init(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilMemberAgreementGUI::getPrivacy | ( | ) | 
Get privycy settings.
Definition at line 85 of file class.ilMemberAgreementGUI.php.
References $privacy.
Referenced by initFormAgreement().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Read setting.
private
Definition at line 375 of file class.ilMemberAgreementGUI.php.
References $ilUser, $obj_id, ilCourseUserData\_checkRequired(), and getAgreement().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 113 of file class.ilMemberAgreementGUI.php.
References $GLOBALS, addAgreement(), addCustomFields(), addExportFieldInfo(), and getPrivacy().
Referenced by save(), and showAgreement().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Save.
private
Definition at line 275 of file class.ilMemberAgreementGUI.php.
References checkAgreement(), getAgreement(), initFormAgreement(), saveCourseDefinedFields(), ilUtil\sendFailure(), and showAgreement().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Save course defined fields.
| ilPropertyFormGUI | $form | 
Definition at line 311 of file class.ilMemberAgreementGUI.php.
References $ilUser, ilCourseDefinedFieldDefinition\_getFields(), ilPropertyFormGUI\getInput(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, and ilCourseUserData\setValue().
Referenced by save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Send info message.
private
Definition at line 388 of file class.ilMemberAgreementGUI.php.
References ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show agreement form.
| ilPropertyFormGUI | $form | 
Definition at line 103 of file class.ilMemberAgreementGUI.php.
References initFormAgreement().
Referenced by save().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 30 of file class.ilMemberAgreementGUI.php.
Referenced by addAgreement(), and getAgreement().
| 
 | private | 
Definition at line 33 of file class.ilMemberAgreementGUI.php.
| 
 | private | 
Definition at line 25 of file class.ilMemberAgreementGUI.php.
| 
 | private | 
Definition at line 24 of file class.ilMemberAgreementGUI.php.
| 
 | private | 
Definition at line 26 of file class.ilMemberAgreementGUI.php.
Referenced by __construct(), addAgreement(), addCustomFields(), and addExportFieldInfo().
| 
 | private | 
Definition at line 21 of file class.ilMemberAgreementGUI.php.
Referenced by __construct(), and init().
| 
 | private | 
Definition at line 29 of file class.ilMemberAgreementGUI.php.
Referenced by getPrivacy().
| 
 | private | 
Definition at line 20 of file class.ilMemberAgreementGUI.php.
| 
 | private | 
Definition at line 32 of file class.ilMemberAgreementGUI.php.
| 
 | private | 
Definition at line 27 of file class.ilMemberAgreementGUI.php.
Referenced by __construct(), and addExportFieldInfo().
| 
 | private | 
Definition at line 22 of file class.ilMemberAgreementGUI.php.