ILIAS
Release_4_0_x_branch Revision 61816
|
Base class for Course and Group registration. More...
Public Member Functions | |
__construct ($a_container) | |
Constructor. | |
cancel () | |
cancel subscription | |
show () | |
show registration form | |
join () | |
join |
Protected Member Functions | |
isRegistrationPossible () | |
check if registration is possible | |
enableRegistration ($a_status) | |
set registration disabled | |
initParticipants () | |
Init participants object (course or group participants) | |
initWaitingList () | |
Init waiting list (course or group waiting list) | |
isWaitingListActive () | |
Check if the waiting list is active Maximum of members exceeded or any user on the waiting list. | |
getWaitingList () | |
Get waiting list object. | |
leaveWaitingList () | |
getFormTitle () | |
Get title for property form. | |
fillInformations () | |
fill informations | |
fillRegistrationPeriod () | |
show informations about the registration period | |
fillMaxMembers () | |
show informations about the maximum number of user. | |
fillRegistrationType () | |
show informations about registration procedure | |
fillMembershipLimitation () | |
Show membership limitations. | |
fillAgreement () | |
Show user agreement. | |
validate () | |
validate join request | |
initForm () | |
init registration form | |
addCommandButtons () | |
Add command buttons. | |
updateSubscriptionRequest () | |
Update subscription message. | |
cancelSubscriptionRequest () |
Protected Attributes | |
$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 33 of file class.ilRegistrationGUI.php.
ilRegistrationGUI::__construct | ( | $a_container | ) |
Constructor.
public
object | Course or Group object |
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 58 of file class.ilRegistrationGUI.php.
References $ilCtrl, $lng, $tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), initParticipants(), and initWaitingList().
|
protected |
Add command buttons.
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 365 of file class.ilRegistrationGUI.php.
References elseif(), getWaitingList(), isRegistrationPossible(), isWaitingListActive(), and ilUtil\sendQuestion().
Referenced by initForm().
ilRegistrationGUI::cancel | ( | ) |
cancel subscription
public
Definition at line 265 of file class.ilRegistrationGUI.php.
References ilUtil\redirect().
|
protected |
Definition at line 403 of file class.ilRegistrationGUI.php.
References ilUtil\redirect(), and ilUtil\sendSuccess().
|
protected |
set registration disabled
protected
bool |
Definition at line 99 of file class.ilRegistrationGUI.php.
Referenced by ilGroupRegistrationGUI\fillMaxMembers(), ilCourseRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilGroupRegistrationGUI\fillRegistrationPeriod(), ilCourseRegistrationGUI\fillRegistrationPeriod(), ilGroupRegistrationGUI\fillRegistrationType(), and ilCourseRegistrationGUI\fillRegistrationType().
|
protected |
Show user agreement.
protected
Reimplemented in ilCourseRegistrationGUI.
Definition at line 254 of file class.ilRegistrationGUI.php.
Referenced by initForm().
|
abstractprotected |
fill informations
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
abstractprotected |
show informations about the maximum number of user.
protected
@return |
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
protected |
Show membership limitations.
protected
Definition at line 200 of file class.ilRegistrationGUI.php.
References $obj_id, $ref_id, $title, $tpl, $type, ilObjCourseGrouping\_checkGroupingDependencies(), ilObjCourseGrouping\_getGroupingItems(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), enableRegistration(), ilUtil\getTypeIconPath(), and ilCustomInputGUI\setHtml().
Referenced by initForm().
|
abstractprotected |
show informations about the registration period
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
abstractprotected |
show informations about registration procedure
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
abstractprotected |
Get title for property form.
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
protected |
Get waiting list object.
Definition at line 135 of file class.ilRegistrationGUI.php.
References $waiting_list.
Referenced by addCommandButtons(), ilGroupRegistrationGUI\executeCommand(), ilCourseRegistrationGUI\executeCommand(), ilGroupRegistrationGUI\fillMaxMembers(), ilCourseRegistrationGUI\fillMaxMembers(), ilGroupRegistrationGUI\fillRegistrationType(), ilGroupRegistrationGUI\getFormTitle(), ilCourseRegistrationGUI\getFormTitle(), ilGroupRegistrationGUI\isWaitingListActive(), ilCourseRegistrationGUI\isWaitingListActive(), and leaveWaitingList().
|
protected |
init registration form
protected
Definition at line 326 of file class.ilRegistrationGUI.php.
References addCommandButtons(), fillAgreement(), fillInformations(), fillMaxMembers(), fillMembershipLimitation(), fillRegistrationPeriod(), fillRegistrationType(), getFormTitle(), and isRegistrationPossible().
Referenced by join(), and show().
|
abstractprotected |
Init participants object (course or group participants)
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by __construct().
|
abstractprotected |
Init waiting list (course or group waiting list)
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by __construct().
|
protected |
check if registration is possible
protected
Definition at line 87 of file class.ilRegistrationGUI.php.
References $registration_possible.
Referenced by ilGroupRegistrationGUI\addCommandButtons(), addCommandButtons(), ilCourseRegistrationGUI\addCommandButtons(), ilCourseRegistrationGUI\fillAgreement(), initForm(), ilGroupRegistrationGUI\validate(), and ilCourseRegistrationGUI\validate().
|
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().
ilRegistrationGUI::join | ( | ) |
join
public
@return |
Definition at line 294 of file class.ilRegistrationGUI.php.
References initForm(), ilUtil\sendFailure(), show(), and validate().
|
protected |
Definition at line 140 of file class.ilRegistrationGUI.php.
References $ilCtrl, getWaitingList(), ilUtil\redirect(), and ilUtil\sendSuccess().
ilRegistrationGUI::show | ( | ) |
show registration form
public
@return |
Definition at line 280 of file class.ilRegistrationGUI.php.
References initForm().
Referenced by join().
|
protected |
Update subscription message.
Definition at line 394 of file class.ilRegistrationGUI.php.
References $_POST, ilUtil\redirect(), ilUtil\sendSuccess(), and ilUtil\stripSlashes().
|
protected |
validate join request
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 315 of file class.ilRegistrationGUI.php.
Referenced by join().
|
protected |
Definition at line 35 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 49 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 41 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 44 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 48 of file class.ilRegistrationGUI.php.
Referenced by __construct(), and ilGroupRegistrationGUI\add().
|
protected |
Definition at line 37 of file class.ilRegistrationGUI.php.
Referenced by fillMembershipLimitation().
|
protected |
Definition at line 39 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 36 of file class.ilRegistrationGUI.php.
Referenced by fillMembershipLimitation().
|
protected |
Definition at line 43 of file class.ilRegistrationGUI.php.
Referenced by isRegistrationPossible().
|
protected |
Definition at line 47 of file class.ilRegistrationGUI.php.
Referenced by __construct(), ilCourseRegistrationGUI\fillAgreement(), ilGroupRegistrationGUI\fillMaxMembers(), ilCourseRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilGroupRegistrationGUI\fillRegistrationPeriod(), and ilCourseRegistrationGUI\fillRegistrationPeriod().
|
protected |
Definition at line 40 of file class.ilRegistrationGUI.php.
Referenced by ilGroupRegistrationGUI\add(), ilCourseRegistrationGUI\add(), ilGroupRegistrationGUI\fillMaxMembers(), ilCourseRegistrationGUI\fillMaxMembers(), and getWaitingList().