|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
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 () | |
| 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 62 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 597 of file class.ilRegistrationGUI.php.
References $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 $ilCtrl.
|
protected |
Definition at line 638 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 124 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 284 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 227 of file class.ilRegistrationGUI.php.
References $_GET, $ilCtrl, $obj_id, $ref_id, $tpl, 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 92 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 101 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 160 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 558 of file class.ilRegistrationGUI.php.
References $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 112 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 526 of file class.ilRegistrationGUI.php.
References initForm(), ilUtil\sendFailure(), show(), and validate().
Here is the call graph for this function:
|
protected |
Definition at line 165 of file class.ilRegistrationGUI.php.
References $ilCtrl, $ilUser, getWaitingList(), and ilUtil\sendSuccess().
Here is the call graph for this function:
|
protected |
Set Agreement accepted.
@access private
| bool |
Definition at line 469 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 | ( | ) |
show registration form
@access public
return
Definition at line 507 of file class.ilRegistrationGUI.php.
References $_SESSION, 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 332 of file class.ilRegistrationGUI.php.
References $_POST, $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 626 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 547 of file class.ilRegistrationGUI.php.
Referenced by join().
Here is the caller graph for this function:
|
protected |
Check Agreement.
@access protected
Definition at line 391 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 413 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 53 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 45 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 48 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 52 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 43 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 47 of file class.ilRegistrationGUI.php.
Referenced by isRegistrationPossible().
|
protected |
Definition at line 51 of file class.ilRegistrationGUI.php.
Referenced by __construct(), ilCourseRegistrationGUI\fillMaxMembers(), ilGroupRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilCourseRegistrationGUI\fillRegistrationPeriod(), and ilGroupRegistrationGUI\fillRegistrationPeriod().
|
protected |
Definition at line 44 of file class.ilRegistrationGUI.php.
Referenced by ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\fillMaxMembers(), ilGroupRegistrationGUI\fillMaxMembers(), and getWaitingList().