|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
GUI class for course registrations. More...
Inheritance diagram for ilCourseRegistrationGUI:
Collaboration diagram for ilCourseRegistrationGUI: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 () | |
| 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.
@ilCtrl_Calls ilCourseRegistrationGUI:
Definition at line 16 of file class.ilCourseRegistrationGUI.php.
| ilCourseRegistrationGUI::__construct | ( | $a_container, | |
| $a_parent_gui | |||
| ) |
Constructor.
@access public
| object | course object |
Definition at line 26 of file class.ilCourseRegistrationGUI.php.
|
protected |
add user
@access protected
return
Definition at line 480 of file class.ilCourseRegistrationGUI.php.
References $_POST, $_SESSION, $GLOBALS, $ilCtrl, $ilUser, $info, $success, ilRegistrationGUI\$waiting_list, ilForumNotification\checkForumsExistsInsert(), ilParticipants\getDefaultMemberRole(), IL_CRS_MEMBER, IL_CRS_SUBSCRIPTION_CONFIRMATION, ilUtil\redirect(), ilUtil\sendFailure(), ilUtil\sendSuccess(), ilRegistrationGUI\setAccepted(), ilRegistrationGUI\show(), and ilUtil\stripSlashes().
Here is the call graph for this function:
|
protected |
Add group specific command buttons.
Reimplemented from ilRegistrationGUI.
Definition at line 389 of file class.ilCourseRegistrationGUI.php.
References $ilUser, IL_CRS_SUBSCRIPTION_CONFIRMATION, and ilRegistrationGUI\isRegistrationPossible().
Here is the call graph for this function:| ilCourseRegistrationGUI::executeCommand | ( | ) |
Execute command.
@access public
Definition at line 38 of file class.ilCourseRegistrationGUI.php.
References $cmd, $GLOBALS, $ilUser, ilRegistrationGUI\getRefId(), and ilRegistrationGUI\getWaitingList().
Here is the call graph for this function:
|
protected |
fill informations
@access protected
return
Reimplemented from ilRegistrationGUI.
Definition at line 89 of file class.ilCourseRegistrationGUI.php.
References ilUtil\makeClickable().
Here is the call graph for this function:
|
protected |
fill max members
@access protected
return
Reimplemented from ilRegistrationGUI.
Definition at line 184 of file class.ilCourseRegistrationGUI.php.
References $ilUser, ilRegistrationGUI\$tpl, ilRegistrationGUI\$waiting_list, ilRegistrationGUI\enableRegistration(), ilRegistrationGUI\getContainer(), ilObjCourseAccess\lookupRegistrationInfo(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
show informations about the registration period
@access protected
Reimplemented from ilRegistrationGUI.
Definition at line 113 of file class.ilCourseRegistrationGUI.php.
References ilRegistrationGUI\$tpl, ilDateTime\_after(), ilDateTime\_before(), ilRegistrationGUI\enableRegistration(), ilDatePresentation\formatDate(), IL_CAL_UNIX, IL_CRS_SUBSCRIPTION_DEACTIVATED, and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
fill registration type
@access protected
Reimplemented from ilRegistrationGUI.
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(), and ilUtil\sendFailure().
Here is the call graph for this function:
|
protected |
get form title
@access protected
Reimplemented from ilRegistrationGUI.
Definition at line 71 of file class.ilCourseRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
Here is the call graph for this function:
|
protected |
Init course participants.
@access protected
Reimplemented from ilRegistrationGUI.
Definition at line 573 of file class.ilCourseRegistrationGUI.php.
References ilCourseParticipants\_getInstanceByObjId().
Here is the call graph for this function:
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 584 of file class.ilCourseRegistrationGUI.php.
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 593 of file class.ilCourseRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Validate subscription request.
@access protected
return
Reimplemented from ilRegistrationGUI.
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().
Here is the call graph for this function:
|
private |
Definition at line 18 of file class.ilCourseRegistrationGUI.php.