ILIAS
Release_3_10_x_branch Revision 61812
|
GUI class for course registrations. More...
Public Member Functions | |
__construct ($a_container) | |
Constructor. | |
executeCommand () | |
Execute command. | |
Public Member Functions inherited from ilRegistrationGUI | |
cancel () | |
cancel subscription | |
show () | |
show registration form | |
join () | |
join | |
ilRegistrationGUI () | |
login () | |
displayForm () | |
showUserDefinedFields () | |
checkUserDefinedRequiredFields () | |
saveForm () | |
__validateRole () | |
__assignRole () | |
__showRoleSelection () | |
__distributeMails () |
Protected Member Functions | |
getFormTitle () | |
get form title | |
fillInformations () | |
fill informations | |
fillRegistrationPeriod () | |
show informations about the registration period | |
fillMaxMembers () | |
fill max members | |
fillRegistrationType () | |
fill registration type | |
fillAgreement () | |
Show user agreement. | |
showCourseDefinedFields () | |
Show course defined fields. | |
validate () | |
Validate subscription request. | |
add () | |
add user | |
initParticipants () | |
Init course participants. | |
Protected Member Functions inherited from ilRegistrationGUI | |
isRegistrationPossible () | |
check if registration is possible | |
enableRegistration ($a_status) | |
set registration disabled | |
fillMembershipLimitation () | |
Show membership limitations. | |
initForm () | |
init registration form |
Protected Attributes | |
$privacy = null | |
Protected Attributes inherited from ilRegistrationGUI | |
$container = null | |
$ref_id | |
$obj_id | |
$participants | |
$form | |
$registration_possible = true | |
$join_error = '' | |
$tpl | |
$lng | |
$ctrl |
Private Member Functions | |
validateAgreement () | |
Check Agreement. | |
validateCourseDefinedFields () | |
Check required course fields. | |
setAccepted ($a_status) | |
Set Agreement accepted. |
GUI class for course registrations.
Definition at line 38 of file class.ilCourseRegistrationGUI.php.
ilCourseRegistrationGUI::__construct | ( | $a_container | ) |
Constructor.
public
object | course object |
Reimplemented from ilRegistrationGUI.
Definition at line 48 of file class.ilCourseRegistrationGUI.php.
References ilPrivacySettings\_getInstance().
|
protected |
add user
protected
@return |
Definition at line 570 of file class.ilCourseRegistrationGUI.php.
References ilWaitingList\addToList(), IL_CRS_MEMBER, IL_CRS_SUBSCRIPTION_CONFIRMATION, ilUtil\redirect(), ilUtil\sendInfo(), setAccepted(), and ilUtil\stripSlashes().
ilCourseRegistrationGUI::executeCommand | ( | ) |
Execute command.
public
Reimplemented from ilRegistrationGUI.
Definition at line 60 of file class.ilCourseRegistrationGUI.php.
References $cmd.
|
protected |
Show user agreement.
protected
Reimplemented from ilRegistrationGUI.
Definition at line 333 of file class.ilCourseRegistrationGUI.php.
References $section, ilRegistrationGUI\$tpl, ilExportFieldsInfo\_getInstance(), ilPrivacySettings\_getInstance(), ilCourseDefinedFieldDefinition\_hasFields(), ilRegistrationGUI\isRegistrationPossible(), ilCustomInputGUI\setHtml(), ilFormPropertyGUI\setRequired(), and showCourseDefinedFields().
|
protected |
fill informations
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 91 of file class.ilCourseRegistrationGUI.php.
References ilUtil\makeClickable().
|
protected |
fill max members
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 185 of file class.ilCourseRegistrationGUI.php.
References ilRegistrationGUI\$tpl, ilRegistrationGUI\enableRegistration(), and ilCustomInputGUI\setHtml().
|
protected |
show informations about the registration period
protected
Reimplemented from ilRegistrationGUI.
Definition at line 115 of file class.ilCourseRegistrationGUI.php.
References ilRegistrationGUI\$tpl, ilDateTime\_after(), ilDateTime\_before(), ilRegistrationGUI\enableRegistration(), ilDatePresentation\formatDate(), IL_CAL_UNIX, IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCustomInputGUI\setHtml(), and ilNonEditableValueGUI\setValue().
|
protected |
fill registration type
protected
Reimplemented from ilRegistrationGUI.
Definition at line 256 of file class.ilCourseRegistrationGUI.php.
References $pass, ilRegistrationGUI\enableRegistration(), IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_PASSWORD, ilFormPropertyGUI\setAlert(), ilTextAreaInputGUI\setValue(), and ilNonEditableValueGUI\setValue().
|
protected |
get form title
protected
Reimplemented from ilRegistrationGUI.
Definition at line 79 of file class.ilCourseRegistrationGUI.php.
|
protected |
Init course participants.
protected
Reimplemented from ilRegistrationGUI.
Definition at line 642 of file class.ilCourseRegistrationGUI.php.
References ilCourseParticipants\_getInstanceByObjId().
|
private |
Set Agreement accepted.
private
bool |
Definition at line 618 of file class.ilCourseRegistrationGUI.php.
References ilCourseDefinedFieldDefinition\_hasFields(), and ilCourseAgreement\setAccepted().
Referenced by add(), and validate().
|
protected |
Show course defined fields.
protected
Definition at line 394 of file class.ilCourseRegistrationGUI.php.
References ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilNonEditableValueGUI\setValue(), and ilUtil\stripSlashes().
Referenced by fillAgreement().
|
protected |
Validate subscription request.
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 456 of file class.ilCourseRegistrationGUI.php.
References $pass, IL_CRS_SUBSCRIPTION_PASSWORD, ilRegistrationGUI\isRegistrationPossible(), setAccepted(), ilUtil\stripSlashes(), validateAgreement(), and validateCourseDefinedFields().
|
private |
Check Agreement.
protected
Definition at line 507 of file class.ilCourseRegistrationGUI.php.
References ilCourseDefinedFieldDefinition\_hasFields().
Referenced by validate().
|
private |
Check required course fields.
protected
Definition at line 529 of file class.ilCourseRegistrationGUI.php.
References ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, ilCourseUserData\setValue(), and ilUtil\stripSlashes().
Referenced by validate().
|
protected |
Definition at line 40 of file class.ilCourseRegistrationGUI.php.