ILIAS
Release_5_0_x_branch Revision 61816
|
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().
|
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().
|
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().
|
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().
|
private |
Check Agreement.
private
Definition at line 449 of file class.ilMemberAgreementGUI.php.
References $_POST, and $ilUser.
Referenced by save().
ilMemberAgreementGUI::executeCommand | ( | ) |
ilMemberAgreementGUI::getAgreement | ( | ) |
Definition at line 93 of file class.ilMemberAgreementGUI.php.
References $agreement.
Referenced by init(), and save().
ilMemberAgreementGUI::getPrivacy | ( | ) |
Get privycy settings.
Definition at line 85 of file class.ilMemberAgreementGUI.php.
References $privacy.
Referenced by initFormAgreement().
|
private |
Read setting.
private
Definition at line 472 of file class.ilMemberAgreementGUI.php.
References $ilUser, $obj_id, ilCourseUserData\_checkRequired(), and getAgreement().
Referenced by __construct().
|
protected |
Definition at line 116 of file class.ilMemberAgreementGUI.php.
References $GLOBALS, addAgreement(), addCustomFields(), addExportFieldInfo(), and getPrivacy().
Referenced by save(), and showAgreement().
|
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().
|
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().
|
private |
Send info message.
private
Definition at line 485 of file class.ilMemberAgreementGUI.php.
References ilUtil\sendFailure().
|
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().
|
protected |
Show agreement form.
ilPropertyFormGUI | $form |
Definition at line 103 of file class.ilMemberAgreementGUI.php.
References $ilUser, initFormAgreement(), and setCourseDefinedFieldValues().
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.