ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct ($a_ref_id) | |
Constructor. | |
executeCommand () | |
Execute Command. |
Private Member Functions | |
showAgreement ($send_info=true) | |
show agreement | |
save () | |
Save. | |
showCourseDefinedFields () | |
checkCourseDefinedFields () | |
Check required course fields. | |
checkAgreement () | |
Check Agreement. | |
init () | |
Read setting. | |
sendInfoMessage () | |
Send info message. |
Private Attributes | |
$ref_id | |
$obj_id | |
$db | |
$ctrl | |
$lng | |
$tpl | |
$privacy | |
$agreement |
ilCourseAgreementGUI::__construct | ( | $a_ref_id | ) |
Constructor.
public
Definition at line 57 of file class.ilCourseAgreementGUI.php.
References $ilCtrl, $ilDB, $lng, $obj_id, $tpl, ilPrivacySettings\_getInstance(), and init().
|
private |
Check Agreement.
private
Definition at line 267 of file class.ilCourseAgreementGUI.php.
References $_POST, and ilCourseDefinedFieldDefinition\_hasFields().
Referenced by save().
|
private |
Check required course fields.
private
Definition at line 220 of file class.ilCourseAgreementGUI.php.
References $_POST, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilCourseUserData\setValue(), and ilUtil\stripSlashes().
Referenced by save().
ilCourseAgreementGUI::executeCommand | ( | ) |
|
private |
Read setting.
private
Definition at line 291 of file class.ilCourseAgreementGUI.php.
References $obj_id, and ilCourseUserData\_checkRequired().
Referenced by __construct().
|
private |
Save.
private
Definition at line 146 of file class.ilCourseAgreementGUI.php.
References checkAgreement(), checkCourseDefinedFields(), ilUtil\sendFailure(), and showAgreement().
|
private |
Send info message.
private
Definition at line 304 of file class.ilCourseAgreementGUI.php.
References ilUtil\sendFailure().
Referenced by showAgreement().
|
private |
show agreement
private
Definition at line 102 of file class.ilCourseAgreementGUI.php.
References ilExportFieldsInfo\_getInstance(), ilCourseDefinedFieldDefinition\_hasFields(), ilUtil\formCheckbox(), sendInfoMessage(), and showCourseDefinedFields().
Referenced by save().
|
private |
Definition at line 167 of file class.ilCourseAgreementGUI.php.
References ilCourseDefinedFieldDefinition\_getFields(), ilUtil\formSelect(), IL_CDF_TYPE_SELECT, and IL_CDF_TYPE_TEXT.
Referenced by showAgreement().
|
private |
Definition at line 49 of file class.ilCourseAgreementGUI.php.
|
private |
Definition at line 44 of file class.ilCourseAgreementGUI.php.
|
private |
Definition at line 43 of file class.ilCourseAgreementGUI.php.
|
private |
Definition at line 45 of file class.ilCourseAgreementGUI.php.
Referenced by __construct().
|
private |
Definition at line 41 of file class.ilCourseAgreementGUI.php.
Referenced by __construct(), and init().
|
private |
Definition at line 48 of file class.ilCourseAgreementGUI.php.
|
private |
Definition at line 40 of file class.ilCourseAgreementGUI.php.
|
private |
Definition at line 46 of file class.ilCourseAgreementGUI.php.
Referenced by __construct().