|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Base class for Course and Group registration. More...
Inheritance diagram for ilRegistrationGUI:
Collaboration diagram for ilRegistrationGUI:Public Member Functions | |
| __construct ($a_container) | |
| Constructor. More... | |
| getContainer () | |
| Parent object. More... | |
| getRefId () | |
| Get ref. More... | |
| cancel () | |
| cancel subscription More... | |
| show (ilPropertyFormGUI $form=null) | |
| show registration form More... | |
| join () | |
| join More... | |
Protected Member Functions | |
| isRegistrationPossible () | |
| check if registration is possible More... | |
| enableRegistration ($a_status) | |
| set registration disabled More... | |
| initParticipants () | |
| Init participants object (course or group participants) More... | |
| initWaitingList () | |
| Init waiting list (course or group waiting list) More... | |
| isWaitingListActive () | |
| Check if the waiting list is active Maximum of members exceeded or any user on the waiting list. More... | |
| getWaitingList () | |
| Get waiting list object. More... | |
| leaveWaitingList () | |
| getFormTitle () | |
| Get title for property form. More... | |
| fillInformations () | |
| fill informations More... | |
| fillRegistrationPeriod () | |
| show informations about the registration period More... | |
| fillMaxMembers () | |
| show informations about the maximum number of user. More... | |
| fillRegistrationType () | |
| show informations about registration procedure More... | |
| fillMembershipLimitation () | |
| Show membership limitations. More... | |
| fillAgreement () | |
| Show user agreement. More... | |
| showCustomFields () | |
| Show course defined fields. More... | |
| validateAgreement () | |
| Check Agreement. More... | |
| validateCustomFields () | |
| Check required course fields. More... | |
| setAccepted ($a_status) | |
| Set Agreement accepted. More... | |
| validate () | |
| validate join request More... | |
| initForm () | |
| init registration form More... | |
| addCommandButtons () | |
| Add command buttons. More... | |
| updateSubscriptionRequest () | |
| Update subscription message. More... | |
| cancelSubscriptionRequest () | |
Protected Attributes | |
| $privacy = null | |
| $container = null | |
| $ref_id | |
| $obj_id | |
| $participants | |
| $waiting_list = null | |
| $form | |
| $registration_possible = true | |
| $join_error = '' | |
| $tpl | |
| $lng | |
| $ctrl | |
Base class for Course and Group registration.
Definition at line 35 of file class.ilRegistrationGUI.php.
| ilRegistrationGUI::__construct | ( | $a_container | ) |
Constructor.
@access public
| object | Course or Group object |
Reimplemented in ilGroupRegistrationGUI.
Definition at line 65 of file class.ilRegistrationGUI.php.
References $DIC, $lng, $tpl, ilPrivacySettings\_getInstance(), ilObject\_lookupObjId(), ilObject\_lookupType(), initParticipants(), and initWaitingList().
Here is the call graph for this function:
|
protected |
Add command buttons.
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 606 of file class.ilRegistrationGUI.php.
References $DIC, $ilUser, getWaitingList(), isRegistrationPossible(), isWaitingListActive(), and ilUtil\sendQuestion().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationGUI::cancel | ( | ) |
cancel subscription
@access public
Definition at line 491 of file class.ilRegistrationGUI.php.
References $DIC.
|
protected |
Definition at line 653 of file class.ilRegistrationGUI.php.
|
protected |
set registration disabled
@access protected
| bool |
Definition at line 132 of file class.ilRegistrationGUI.php.
Referenced by ilCourseRegistrationGUI\fillMaxMembers(), ilGroupRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilCourseRegistrationGUI\fillRegistrationPeriod(), ilGroupRegistrationGUI\fillRegistrationPeriod(), ilCourseRegistrationGUI\fillRegistrationType(), and ilGroupRegistrationGUI\fillRegistrationType().
Here is the caller graph for this function:
|
protected |
Show user agreement.
@access protected
Definition at line 297 of file class.ilRegistrationGUI.php.
References $DIC, $ilUser, $section, ilExportFieldsInfo\_getInstanceByType(), ilCourseDefinedFieldDefinition\_hasFields(), ilObject\_lookupType(), ilMemberAgreementGUI\addAgreement(), ilMemberAgreementGUI\addCustomFields(), ilMemberAgreementGUI\addExportFieldInfo(), and isRegistrationPossible().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
fill informations
@access protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
Here is the caller graph for this function:
|
abstractprotected |
show informations about the maximum number of user.
@access protected
return
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
Here is the caller graph for this function:
|
protected |
Show membership limitations.
@access protected
Definition at line 241 of file class.ilRegistrationGUI.php.
References $_GET, $DIC, $obj_id, $ref_id, $tpl, $type, ilObjCourseGrouping\_checkGroupingDependencies(), ilObjCourseGrouping\_getGroupingItems(), ilObject\_getIcon(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), and enableRegistration().
Referenced by initForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
show informations about the registration period
@access protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
Here is the caller graph for this function:
|
abstractprotected |
show informations about registration procedure
@access protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
Here is the caller graph for this function:| ilRegistrationGUI::getContainer | ( | ) |
Parent object.
Definition at line 100 of file class.ilRegistrationGUI.php.
References $container.
Referenced by ilCourseRegistrationGUI\fillMaxMembers(), and ilGroupRegistrationGUI\fillMaxMembers().
Here is the caller graph for this function:
|
abstractprotected |
Get title for property form.
@access protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
Here is the caller graph for this function:| ilRegistrationGUI::getRefId | ( | ) |
Get ref.
Definition at line 109 of file class.ilRegistrationGUI.php.
References $ref_id.
Referenced by ilCourseRegistrationGUI\executeCommand().
Here is the caller graph for this function:
|
protected |
Get waiting list object.
Definition at line 168 of file class.ilRegistrationGUI.php.
References $waiting_list.
Referenced by addCommandButtons(), ilCourseRegistrationGUI\executeCommand(), ilGroupRegistrationGUI\executeCommand(), ilGroupRegistrationGUI\fillRegistrationType(), ilCourseRegistrationGUI\getFormTitle(), ilGroupRegistrationGUI\getFormTitle(), ilCourseRegistrationGUI\isWaitingListActive(), ilGroupRegistrationGUI\isWaitingListActive(), and leaveWaitingList().
Here is the caller graph for this function:
|
protected |
init registration form
@access protected
Definition at line 569 of file class.ilRegistrationGUI.php.
References $DIC, $form, $ilUser, addCommandButtons(), fillAgreement(), fillInformations(), fillMaxMembers(), fillMembershipLimitation(), fillRegistrationPeriod(), fillRegistrationType(), getFormTitle(), and isRegistrationPossible().
Referenced by join(), and show().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Init participants object (course or group participants)
@access protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by __construct().
Here is the caller graph for this function:
|
abstractprotected |
Init waiting list (course or group waiting list)
@access protected @abstract
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
check if registration is possible
@access protected
Definition at line 120 of file class.ilRegistrationGUI.php.
References $registration_possible.
Referenced by ilCourseRegistrationGUI\addCommandButtons(), ilGroupRegistrationGUI\addCommandButtons(), addCommandButtons(), fillAgreement(), initForm(), ilCourseRegistrationGUI\validate(), and ilGroupRegistrationGUI\validate().
Here is the caller graph for this function:
|
abstractprotected |
Check if the waiting list is active Maximum of members exceeded or any user on the waiting list.
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by addCommandButtons().
Here is the caller graph for this function:| ilRegistrationGUI::join | ( | ) |
join
@access public
return
Definition at line 533 of file class.ilRegistrationGUI.php.
References $form, add(), initForm(), ilUtil\sendFailure(), and show().
Here is the call graph for this function:
|
protected |
Definition at line 173 of file class.ilRegistrationGUI.php.
References $DIC, $ilUser, $message, and getWaitingList().
Here is the call graph for this function:
|
protected |
Set Agreement accepted.
@access private
| bool |
Definition at line 468 of file class.ilRegistrationGUI.php.
References $DIC, $ilUser, and ilCourseDefinedFieldDefinition\_hasFields().
Referenced by ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), and ilCourseRegistrationGUI\validate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilRegistrationGUI::show | ( | ilPropertyFormGUI | $form = null | ) |
show registration form
@access public
return
Definition at line 513 of file class.ilRegistrationGUI.php.
References $_SESSION, $form, initForm(), and ilUtil\sendInfo().
Referenced by ilCourseRegistrationGUI\add(), and join().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Show course defined fields.
@access protected
Definition at line 343 of file class.ilRegistrationGUI.php.
References $_POST, $DIC, $ilUser, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, IL_CDF_TYPE_TEXT, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Update subscription message.
Definition at line 635 of file class.ilRegistrationGUI.php.
References $_POST, $DIC, $ilUser, and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
validate join request
@access protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 558 of file class.ilRegistrationGUI.php.
|
protected |
Check Agreement.
@access protected
Definition at line 399 of file class.ilRegistrationGUI.php.
References $_POST, $DIC, and $ilUser.
Referenced by ilCourseRegistrationGUI\validate(), and ilGroupRegistrationGUI\validate().
Here is the caller graph for this function:
|
protected |
Check required course fields.
@access protected
Definition at line 421 of file class.ilRegistrationGUI.php.
References $_POST, $DIC, $ilUser, ilCourseDefinedFieldDefinition\_getFields(), IL_CDF_TYPE_SELECT, and IL_CDF_TYPE_TEXT.
Referenced by ilCourseRegistrationGUI\validate(), and ilGroupRegistrationGUI\validate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 39 of file class.ilRegistrationGUI.php.
Referenced by getContainer().
|
protected |
Definition at line 56 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 48 of file class.ilRegistrationGUI.php.
Referenced by initForm(), join(), and show().
|
protected |
Definition at line 51 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 55 of file class.ilRegistrationGUI.php.
Referenced by __construct(), and ilGroupRegistrationGUI\add().
|
protected |
Definition at line 41 of file class.ilRegistrationGUI.php.
Referenced by fillMembershipLimitation().
|
protected |
Definition at line 46 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 37 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 40 of file class.ilRegistrationGUI.php.
Referenced by fillMembershipLimitation(), and getRefId().
|
protected |
Definition at line 50 of file class.ilRegistrationGUI.php.
Referenced by isRegistrationPossible().
|
protected |
Definition at line 54 of file class.ilRegistrationGUI.php.
Referenced by __construct(), ilCourseRegistrationGUI\fillMaxMembers(), ilGroupRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilCourseRegistrationGUI\fillRegistrationPeriod(), and ilGroupRegistrationGUI\fillRegistrationPeriod().
|
protected |
Definition at line 47 of file class.ilRegistrationGUI.php.
Referenced by ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\fillMaxMembers(), ilGroupRegistrationGUI\fillMaxMembers(), and getWaitingList().