ILIAS
Release_5_0_x_branch Revision 61816
|
GUI class for course registrations. More...
Public Member Functions | |
__construct ($a_container, $a_parent_gui) | |
Constructor. | |
executeCommand () | |
Execute command. | |
Public Member Functions inherited from ilRegistrationGUI | |
__construct ($a_container) | |
Constructor. | |
getContainer () | |
Parent object. | |
getRefId () | |
Get ref. | |
cancel () | |
cancel subscription | |
show () | |
show registration form | |
join () | |
join |
Protected Member Functions | |
getFormTitle () | |
get form title | |
fillInformations () | |
fill informations | |
fillRegistrationPeriod () | |
show informations about the registration period | |
fillMaxMembers () | |
fill max members | |
fillRegistrationType () | |
fill registration type | |
addCommandButtons () | |
Add group specific command buttons. | |
validate () | |
Validate subscription request. | |
add () | |
add user | |
initParticipants () | |
Init course participants. | |
initWaitingList () | |
isWaitingListActive () | |
Protected Member Functions inherited from ilRegistrationGUI | |
isRegistrationPossible () | |
check if registration is possible | |
enableRegistration ($a_status) | |
set registration disabled | |
getWaitingList () | |
Get waiting list object. | |
leaveWaitingList () | |
fillMembershipLimitation () | |
Show membership limitations. | |
fillAgreement () | |
Show user agreement. | |
showCustomFields () | |
Show course defined fields. | |
validateAgreement () | |
Check Agreement. | |
validateCustomFields () | |
Check required course fields. | |
setAccepted ($a_status) | |
Set Agreement accepted. | |
initForm () | |
init registration form | |
updateSubscriptionRequest () | |
Update subscription message. | |
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 37 of file class.ilCourseRegistrationGUI.php.
ilCourseRegistrationGUI::__construct | ( | $a_container, | |
$a_parent_gui | |||
) |
Constructor.
public
object | course object |
Definition at line 47 of file class.ilCourseRegistrationGUI.php.
|
protected |
add user
protected
@return |
Definition at line 482 of file class.ilCourseRegistrationGUI.php.
References $_POST, $_SESSION, $GLOBALS, $ilCtrl, $ilUser, $success, ilRegistrationGUI\$waiting_list, ilCourseWaitingList\addToList(), ilForumNotification\checkForumsExistsInsert(), ilParticipants\getDefaultMemberRole(), IL_CRS_MEMBER, IL_CRS_SUBSCRIPTION_CONFIRMATION, ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilRegistrationGUI\setAccepted(), ilRegistrationGUI\show(), and ilUtil\stripSlashes().
|
protected |
Add group specific command buttons.
Reimplemented from ilRegistrationGUI.
Definition at line 391 of file class.ilCourseRegistrationGUI.php.
References $ilUser, IL_CRS_SUBSCRIPTION_CONFIRMATION, and ilRegistrationGUI\isRegistrationPossible().
ilCourseRegistrationGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 59 of file class.ilCourseRegistrationGUI.php.
References $cmd, $GLOBALS, $ilUser, ilRegistrationGUI\getRefId(), and ilRegistrationGUI\getWaitingList().
|
protected |
fill informations
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 110 of file class.ilCourseRegistrationGUI.php.
References ilUtil\makeClickable().
|
protected |
fill max members
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 205 of file class.ilCourseRegistrationGUI.php.
References $ilUser, ilRegistrationGUI\$tpl, ilRegistrationGUI\$waiting_list, ilRegistrationGUI\enableRegistration(), ilRegistrationGUI\getWaitingList(), ilUtil\sendFailure(), and ilCustomInputGUI\setHtml().
|
protected |
show informations about the registration period
protected
Reimplemented from ilRegistrationGUI.
Definition at line 134 of file class.ilCourseRegistrationGUI.php.
References ilRegistrationGUI\$tpl, ilDateTime\_after(), ilDateTime\_before(), ilRegistrationGUI\enableRegistration(), ilDatePresentation\formatDate(), IL_CAL_UNIX, IL_CRS_SUBSCRIPTION_DEACTIVATED, ilUtil\sendFailure(), ilCustomInputGUI\setHtml(), and ilNonEditableValueGUI\setValue().
|
protected |
fill registration type
protected
Reimplemented from ilRegistrationGUI.
Definition at line 303 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
Reimplemented from ilRegistrationGUI.
Definition at line 92 of file class.ilCourseRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
|
protected |
Init course participants.
protected
Reimplemented from ilRegistrationGUI.
Definition at line 575 of file class.ilCourseRegistrationGUI.php.
References ilCourseParticipants\_getInstanceByObjId().
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 586 of file class.ilCourseRegistrationGUI.php.
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 595 of file class.ilCourseRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
|
protected |
Validate subscription request.
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 430 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 39 of file class.ilCourseRegistrationGUI.php.