ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 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 | |
ilMemberAgreementGUI::__construct | ( | $a_ref_id | ) |
Constructor.
public
Definition at line 41 of file class.ilMemberAgreementGUI.php.
References $DIC, $ilCtrl, $ilDB, $ilUser, $lng, $obj_id, $tpl, ilPrivacySettings\_getInstance(), ilObject\_lookupType(), and init().
|
static |
Add agreement to form.
type | $form | |
type | $a_obj_id | |
type | $a_type |
Definition at line 190 of file class.ilMemberAgreementGUI.php.
References $a_type, $agreement, $DIC, $form, and $lng.
Referenced by ilRegistrationGUI\fillAgreement().
|
static |
Add custom course fields.
type | $form | |
type | $a_obj_id | |
type | $a_type |
Definition at line 211 of file class.ilMemberAgreementGUI.php.
References $a_type, $DIC, $form, $key, $lng, $text, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilSelectInputGUI\setOptions(), ilFormPropertyGUI\setRequired(), and ilNonEditableValueGUI\setValue().
Referenced by ilRegistrationGUI\fillAgreement(), and ilObjectCustomUserFieldsGUI\initMemberForm().
|
static |
Add export field info to form type $lng.
type | $form | |
type | $a_obj_id | |
type | $a_type |
Definition at line 151 of file class.ilMemberAgreementGUI.php.
References $a_type, $DIC, $form, $lng, $tpl, ilUserDefinedFields\_getInstance(), ilExportFieldsInfo\_getInstanceByType(), ilObject\_lookupType(), and ilCustomInputGUI\setHtml().
Referenced by ilRegistrationGUI\fillAgreement().
|
private |
ilMemberAgreementGUI::executeCommand | ( | ) |
ilMemberAgreementGUI::getAgreement | ( | ) |
Definition at line 98 of file class.ilMemberAgreementGUI.php.
References $agreement.
Referenced by init(), and save().
ilMemberAgreementGUI::getPrivacy | ( | ) |
Get privycy settings.
Definition at line 90 of file class.ilMemberAgreementGUI.php.
References $privacy.
Referenced by initFormAgreement().
|
private |
Read setting.
private
Definition at line 458 of file class.ilMemberAgreementGUI.php.
References $DIC, $ilUser, $obj_id, ilCourseUserData\_checkRequired(), and getAgreement().
Referenced by __construct().
|
protected |
Definition at line 125 of file class.ilMemberAgreementGUI.php.
References $form, $GLOBALS, and getPrivacy().
Referenced by save(), and showAgreement().
|
private |
Save.
private
Definition at line 305 of file class.ilMemberAgreementGUI.php.
References $DIC, $form, $ilUser, checkAgreement(), getAgreement(), IL_CAL_UNIX, initFormAgreement(), ilUtil\sendFailure(), ilObjectCustomUserFieldHistory\setUpdateUser(), and showAgreement().
|
static |
Save course defined fields.
ilPropertyFormGUI | $form |
Definition at line 393 of file class.ilMemberAgreementGUI.php.
References $DIC, $ilUser, ilCourseDefinedFieldDefinition\_getFields(), ilPropertyFormGUI\getInput(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, and ilCourseUserData\setValue().
Referenced by ilObjectCustomUserFieldsGUI\saveMember().
|
private |
Send info message.
private
Definition at line 473 of file class.ilMemberAgreementGUI.php.
References $message, and ilUtil\sendFailure().
|
static |
Definition at line 341 of file class.ilMemberAgreementGUI.php.
References $DIC, $id, $ilUser, ilCourseDefinedFieldDefinition\_getFields(), ilCourseUserData\_getValuesByObjId(), ilPropertyFormGUI\getItemByPostVar(), IL_CDF_TYPE_SELECT, and IL_CDF_TYPE_TEXT.
Referenced by ilObjectCustomUserFieldsGUI\editMember().
|
protected |
Show agreement form.
ilPropertyFormGUI | $form |
Definition at line 108 of file class.ilMemberAgreementGUI.php.
References $DIC, $form, $ilUser, and initFormAgreement().
Referenced by save().
|
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.