|
ILIAS
Release_3_10_x_branch Revision 61812
|
GUI class for course registrations. More...
Inheritance diagram for ilCourseRegistrationGUI:
Collaboration diagram for ilCourseRegistrationGUI: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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
|
protected |
fill informations
protected
| @return |
Reimplemented from ilRegistrationGUI.
Definition at line 91 of file class.ilCourseRegistrationGUI.php.
References ilUtil\makeClickable().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
|
private |
Check Agreement.
protected
Definition at line 507 of file class.ilCourseRegistrationGUI.php.
References ilCourseDefinedFieldDefinition\_hasFields().
Referenced by validate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 40 of file class.ilCourseRegistrationGUI.php.