ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
GUI class for course registrations. More...
Public Member Functions | |
__construct ($a_container, $a_parent_gui) | |
Constructor. More... | |
executeCommand () | |
Execute command. More... | |
Public Member Functions inherited from ilRegistrationGUI | |
__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 | |
getFormTitle () | |
get form title More... | |
fillInformations () | |
fill informations More... | |
fillRegistrationPeriod () | |
show informations about the registration period More... | |
fillMaxMembers () | |
fill max members More... | |
fillRegistrationType () | |
fill registration type More... | |
addCommandButtons () | |
Add group specific command buttons. More... | |
validate () | |
Validate subscription request. More... | |
add () | |
add user More... | |
initParticipants () | |
Init course participants. More... | |
initWaitingList () | |
isWaitingListActive () | |
Protected Member Functions inherited from ilRegistrationGUI | |
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 () | |
Private Attributes | |
$parent_gui = null | |
Additional Inherited Members | |
Protected Attributes inherited from ilRegistrationGUI | |
$privacy = null | |
$container = null | |
$ref_id | |
$obj_id | |
$participants | |
$waiting_list = null | |
$form | |
$registration_possible = true | |
$join_error = '' | |
$tpl | |
$lng | |
$ctrl | |
GUI class for course registrations.
Definition at line 16 of file class.ilCourseRegistrationGUI.php.
ilCourseRegistrationGUI::__construct | ( | $a_container, | |
$a_parent_gui | |||
) |
Constructor.
public
object | course object |
Definition at line 26 of file class.ilCourseRegistrationGUI.php.
|
protected |
add user
protected
Definition at line 480 of file class.ilCourseRegistrationGUI.php.
References $_POST, $_SESSION, $GLOBALS, $ilCtrl, $ilUser, $info, $success, ilRegistrationGUI\$waiting_list, ilCourseWaitingList\addToList(), array, ilForumNotification\checkForumsExistsInsert(), ilParticipants\getDefaultMemberRole(), IL_CRS_MEMBER, IL_CRS_SUBSCRIPTION_CONFIRMATION, ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilRegistrationGUI\setAccepted(), ilRegistrationGUI\show(), ilUtil\stripSlashes(), and time.
|
protected |
Add group specific command buttons.
Definition at line 389 of file class.ilCourseRegistrationGUI.php.
References $ilUser, IL_CRS_SUBSCRIPTION_CONFIRMATION, and ilRegistrationGUI\isRegistrationPossible().
ilCourseRegistrationGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 38 of file class.ilCourseRegistrationGUI.php.
References $cmd, $GLOBALS, $ilUser, ilRegistrationGUI\getRefId(), and ilRegistrationGUI\getWaitingList().
|
protected |
fill informations
protected
Definition at line 89 of file class.ilCourseRegistrationGUI.php.
References ilUtil\makeClickable().
|
protected |
fill max members
protected
Definition at line 184 of file class.ilCourseRegistrationGUI.php.
References $ilUser, ilRegistrationGUI\$tpl, ilRegistrationGUI\$waiting_list, ilRegistrationGUI\enableRegistration(), ilRegistrationGUI\getContainer(), ilRegistrationGUI\getWaitingList(), ilObjCourseAccess\lookupRegistrationInfo(), ilUtil\sendFailure(), and ilCustomInputGUI\setHtml().
|
protected |
show informations about the registration period
protected
Definition at line 113 of file class.ilCourseRegistrationGUI.php.
References $start, ilRegistrationGUI\$tpl, ilDateTime\_after(), ilDateTime\_before(), ilRegistrationGUI\enableRegistration(), ilDatePresentation\formatDate(), IL_CAL_UNIX, IL_CRS_SUBSCRIPTION_DEACTIVATED, ilUtil\sendFailure(), ilCustomInputGUI\setHtml(), ilNonEditableValueGUI\setValue(), and time.
|
protected |
fill registration type
protected
Definition at line 297 of file class.ilCourseRegistrationGUI.php.
References $_POST, $ilUser, $pass, $txt, ilRegistrationGUI\enableRegistration(), IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_PASSWORD, isWaitingListActive(), ilUtil\sendFailure(), ilFormPropertyGUI\setAlert(), and ilTextAreaInputGUI\setValue().
|
protected |
get form title
protected
Definition at line 71 of file class.ilCourseRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
|
protected |
Init course participants.
protected
Definition at line 573 of file class.ilCourseRegistrationGUI.php.
References ilCourseParticipants\_getInstanceByObjId().
|
protected |
Definition at line 584 of file class.ilCourseRegistrationGUI.php.
|
protected |
Definition at line 593 of file class.ilCourseRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
|
protected |
Validate subscription request.
protected
Definition at line 428 of file class.ilCourseRegistrationGUI.php.
References $_POST, $ilUser, $pass, IL_CRS_SUBSCRIPTION_PASSWORD, ilRegistrationGUI\isRegistrationPossible(), ilRegistrationGUI\setAccepted(), ilUtil\stripSlashes(), ilRegistrationGUI\validateAgreement(), and ilRegistrationGUI\validateCustomFields().
|
private |
Definition at line 18 of file class.ilCourseRegistrationGUI.php.