ILIAS
Release_4_2_x_branch Revision 61807
|
GUI class for course registrations. More...
Public Member Functions | |
__construct ($a_container) | |
Constructor. | |
executeCommand () | |
Execute command. | |
Public Member Functions inherited from ilRegistrationGUI | |
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 () |
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 | ) |
Constructor.
public
object | course object |
Reimplemented from ilRegistrationGUI.
Definition at line 45 of file class.ilCourseRegistrationGUI.php.
|
protected |
add user
protected
@return |
Definition at line 471 of file class.ilCourseRegistrationGUI.php.
References $_POST, ilRegistrationGUI\$waiting_list, ilWaitingList\addToList(), ilForumNotification\checkForumsExistsInsert(), IL_CRS_MEMBER, IL_CRS_SUBSCRIPTION_CONFIRMATION, ilUtil\redirect(), ilUtil\sendSuccess(), ilRegistrationGUI\setAccepted(), and ilUtil\stripSlashes().
|
protected |
Add group specific command buttons.
Reimplemented from ilRegistrationGUI.
Definition at line 380 of file class.ilCourseRegistrationGUI.php.
References IL_CRS_SUBSCRIPTION_CONFIRMATION, and ilRegistrationGUI\isRegistrationPossible().
ilCourseRegistrationGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 55 of file class.ilCourseRegistrationGUI.php.
References $cmd, and ilRegistrationGUI\getWaitingList().
|
protected |
fill informations
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 99 of file class.ilCourseRegistrationGUI.php.
References ilUtil\makeClickable().
|
protected |
fill max members
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 194 of file class.ilCourseRegistrationGUI.php.
References 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 123 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 292 of file class.ilCourseRegistrationGUI.php.
References $_POST, $pass, ilRegistrationGUI\enableRegistration(), IL_CRS_SUBSCRIPTION_CONFIRMATION, IL_CRS_SUBSCRIPTION_DEACTIVATED, IL_CRS_SUBSCRIPTION_DIRECT, IL_CRS_SUBSCRIPTION_PASSWORD, isWaitingListActive(), ilUtil\sendFailure(), ilFormPropertyGUI\setAlert(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().
|
protected |
get form title
protected
Reimplemented from ilRegistrationGUI.
Definition at line 81 of file class.ilCourseRegistrationGUI.php.
References ilRegistrationGUI\getWaitingList().
|
protected |
Init course participants.
protected
Reimplemented from ilRegistrationGUI.
Definition at line 529 of file class.ilCourseRegistrationGUI.php.
References ilCourseParticipants\_getInstanceByObjId().
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 540 of file class.ilCourseRegistrationGUI.php.
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 549 of file class.ilCourseRegistrationGUI.php.
References ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
|
protected |
Validate subscription request.
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 419 of file class.ilCourseRegistrationGUI.php.
References $_POST, $pass, IL_CRS_SUBSCRIPTION_PASSWORD, ilRegistrationGUI\isRegistrationPossible(), ilRegistrationGUI\setAccepted(), ilUtil\stripSlashes(), ilRegistrationGUI\validateAgreement(), and ilRegistrationGUI\validateCustomFields().