|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 $ilCtrl, $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 585 of file class.ilRegistrationGUI.php.
References $ilUser, getWaitingList(), isRegistrationPossible(), isWaitingListActive(), ilUtil\sendQuestion(), and sprintf.
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 475 of file class.ilRegistrationGUI.php.
References $ilCtrl.
|
protected |
Definition at line 626 of file class.ilRegistrationGUI.php.
References $ilCtrl, $ilUser, and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
set registration disabled
@access protected
| bool |
Definition at line 128 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 286 of file class.ilRegistrationGUI.php.
References $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 233 of file class.ilRegistrationGUI.php.
References $_GET, $ilCtrl, $obj_id, $ref_id, $title, $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 96 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 105 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 164 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 550 of file class.ilRegistrationGUI.php.
References $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 116 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 514 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 169 of file class.ilRegistrationGUI.php.
References $ilCtrl, $ilUser, $message, getWaitingList(), ilUtil\sendSuccess(), and sprintf.
Here is the call graph for this function:
|
protected |
Set Agreement accepted.
@access private
| bool |
Definition at line 454 of file class.ilRegistrationGUI.php.
References $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 494 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 330 of file class.ilRegistrationGUI.php.
References $_POST, $ilUser, $text, 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 612 of file class.ilRegistrationGUI.php.
References $_POST, $ilCtrl, $ilUser, ilUtil\sendSuccess(), 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 539 of file class.ilRegistrationGUI.php.
|
protected |
Check Agreement.
@access protected
Definition at line 384 of file class.ilRegistrationGUI.php.
References $_POST, 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 404 of file class.ilRegistrationGUI.php.
References $_POST, $GLOBALS, $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().