|
ILIAS
Release_5_0_x_branch Revision 61816
|
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, $a_mode= 'user') |
| Add custom course fields. | |
| static | setCourseDefinedFieldValues (ilPropertyFormGUI $form, $a_obj_id, $a_usr_id=0) |
| static | saveCourseDefinedFields (ilPropertyFormGUI $form, $a_obj_id, $a_usr_id=0) |
| 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, $ilDB, $ilUser, $lng, $obj_id, $tpl, ilPrivacySettings\_getInstance(), ilObject\_lookupType(), and init().
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 171 of file class.ilMemberAgreementGUI.php.
References $agreement, and $lng.
Referenced by ilRegistrationGUI\fillAgreement(), and initFormAgreement().
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 190 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(), initFormAgreement(), and ilObjectCustomUserFieldsGUI\initMemberForm().
Here is the call 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 143 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 caller graph for this function:
|
private |
Check Agreement.
private
Definition at line 449 of file class.ilMemberAgreementGUI.php.
References $_POST, and $ilUser.
Referenced by save().
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:| 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:
|
private |
Read setting.
private
Definition at line 472 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 caller graph for this function:
|
protected |
Definition at line 116 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 caller graph for this function:
|
private |
Save.
private
Definition at line 305 of file class.ilMemberAgreementGUI.php.
References $ilUser, checkAgreement(), getAgreement(), IL_CAL_UNIX, initFormAgreement(), saveCourseDefinedFields(), ilUtil\sendFailure(), ilObjectCustomUserFieldHistory\setUpdateUser(), and showAgreement().
Here is the call graph for this function:
|
static |
Save course defined fields.
| ilPropertyFormGUI | $form |
Definition at line 403 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(), and ilObjectCustomUserFieldsGUI\saveMember().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Send info message.
private
Definition at line 485 of file class.ilMemberAgreementGUI.php.
References ilUtil\sendFailure().
Here is the call graph for this function:
|
static |
Definition at line 345 of file class.ilMemberAgreementGUI.php.
References $ilUser, ilCourseDefinedFieldDefinition\_getFields(), ilCourseUserData\_getValuesByObjId(), ilPropertyFormGUI\getItemByPostVar(), IL_CDF_TYPE_SELECT, and IL_CDF_TYPE_TEXT.
Referenced by ilObjectCustomUserFieldsGUI\editMember(), and showAgreement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show agreement form.
| ilPropertyFormGUI | $form |
Definition at line 103 of file class.ilMemberAgreementGUI.php.
References $ilUser, initFormAgreement(), and setCourseDefinedFieldValues().
Referenced by save().
Here is the call 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.