|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collaboration diagram for ilMemberAgreementGUI:Public Member Functions | |
| __construct ($a_ref_id) | |
| Constructor. More... | |
| executeCommand () | |
| Execute Command. More... | |
| getPrivacy () | |
| Get privycy settings. More... | |
| getAgreement () | |
Static Public Member Functions | |
| static | addExportFieldInfo ($form, $a_obj_id, $a_type) |
| Add export field info to form @global type $lng. More... | |
| static | addAgreement ($form, $a_obj_id, $a_type) |
| Add agreement to form. More... | |
| static | addCustomFields ($form, $a_obj_id, $a_type, $a_mode='user') |
| Add custom course fields. More... | |
| 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. More... | |
Protected Member Functions | |
| showAgreement (ilPropertyFormGUI $form=null) | |
| Show agreement form. More... | |
| initFormAgreement () | |
Private Member Functions | |
| save () | |
| Save. More... | |
| checkAgreement () | |
| Check Agreement. More... | |
| init () | |
| Read setting. More... | |
| sendInfoMessage () | |
| Send info message. More... | |
Private Attributes | |
| $ref_id | |
| $obj_id | |
| $type | |
| $db | |
| $ctrl | |
| $lng | |
| $tpl | |
| $privacy | |
| $agreement | |
| $required_fullfilled = false | |
| $agrement_required = false | |
@ilCtrl_Calls ilMemberAgreementGUI:
Definition at line 18 of file class.ilMemberAgreementGUI.php.
| ilMemberAgreementGUI::__construct | ( | $a_ref_id | ) |
Constructor.
@access public
Definition at line 41 of file class.ilMemberAgreementGUI.php.
References $ilCtrl, $ilDB, $ilUser, $lng, $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 179 of file class.ilMemberAgreementGUI.php.
References $a_type, $agreement, $form, 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 198 of file class.ilMemberAgreementGUI.php.
References $a_type, $form, $key, $lng, $text, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, and IL_CDF_TYPE_TEXT.
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 @global type $lng.
| type | $form | |
| type | $a_obj_id | |
| type | $a_type |
Definition at line 142 of file class.ilMemberAgreementGUI.php.
References $a_type, $form, $lng, $tpl, ilUserDefinedFields\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), and ilObject\_lookupType().
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.
@access private
Definition at line 414 of file class.ilMemberAgreementGUI.php.
References $_POST, and $ilUser.
Referenced by save().
Here is the caller graph for this function:| ilMemberAgreementGUI::executeCommand | ( | ) |
Execute Command.
@access public
Definition at line 64 of file class.ilMemberAgreementGUI.php.
| ilMemberAgreementGUI::getAgreement | ( | ) |
Definition at line 91 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 83 of file class.ilMemberAgreementGUI.php.
References $privacy.
Referenced by initFormAgreement().
Here is the caller graph for this function:
|
private |
Read setting.
@access private
Definition at line 435 of file class.ilMemberAgreementGUI.php.
References $ilUser, 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 $form, $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.
@access private
Definition at line 290 of file class.ilMemberAgreementGUI.php.
References $form, $ilUser, checkAgreement(), getAgreement(), IL_CAL_UNIX, initFormAgreement(), saveCourseDefinedFields(), ilUtil\sendFailure(), and showAgreement().
Here is the call graph for this function:
|
static |
Save course defined fields.
| ilPropertyFormGUI | $form |
Definition at line 374 of file class.ilMemberAgreementGUI.php.
References $form, $ilUser, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, and IL_CDF_TYPE_TEXT.
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.
@access private
Definition at line 448 of file class.ilMemberAgreementGUI.php.
References $message, and ilUtil\sendFailure().
Here is the call graph for this function:
|
static |
Definition at line 324 of file class.ilMemberAgreementGUI.php.
References $form, $id, $ilUser, ilCourseDefinedFieldDefinition\_getFields(), ilCourseUserData\_getValuesByObjId(), 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 101 of file class.ilMemberAgreementGUI.php.
References $form, $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.
|
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.