ILIAS
Release_4_0_x_branch Revision 61816
|
GUI class for group 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 member informations | |
fillRegistrationType () | |
fill registration procedure | |
addCommandButtons () | |
Add group specific command buttons. | |
validate () | |
validate join 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. | |
initForm () | |
init registration form | |
updateSubscriptionRequest () | |
Update subscription message. | |
cancelSubscriptionRequest () |
Additional Inherited Members | |
Protected Attributes inherited from ilRegistrationGUI | |
$container = null | |
$ref_id | |
$obj_id | |
$participants | |
$waiting_list = null | |
$form | |
$registration_possible = true | |
$join_error = '' | |
$tpl | |
$lng | |
$ctrl |
GUI class for group registrations.
Definition at line 36 of file class.ilGroupRegistrationGUI.php.
ilGroupRegistrationGUI::__construct | ( | $a_container | ) |
Constructor.
public
object | container object |
Reimplemented from ilRegistrationGUI.
Definition at line 44 of file class.ilGroupRegistrationGUI.php.
|
protected |
add user
protected
@return |
Definition at line 425 of file class.ilGroupRegistrationGUI.php.
References $_POST, ilRegistrationGUI\$lng, ilRegistrationGUI\$waiting_list, ilWaitingList\addToList(), GRP_REGISTRATION_REQUEST, IL_GRP_MEMBER, ilUtil\redirect(), ilUtil\sendSuccess(), ilUtil\stripSlashes(), ilGroupMembershipMailNotification\TYPE_NOTIFICATION_REGISTRATION, ilGroupMembershipMailNotification\TYPE_NOTIFICATION_REGISTRATION_REQUEST, ilGroupMembershipMailNotification\TYPE_SUBSCRIBE_MEMBER, and ilGroupMembershipMailNotification\TYPE_WAITING_LIST_MEMBER.
|
protected |
Add group specific command buttons.
Reimplemented from ilRegistrationGUI.
Definition at line 349 of file class.ilGroupRegistrationGUI.php.
References GRP_REGISTRATION_REQUEST, and ilRegistrationGUI\isRegistrationPossible().
ilGroupRegistrationGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 54 of file class.ilGroupRegistrationGUI.php.
References $cmd, and ilRegistrationGUI\getWaitingList().
|
protected |
fill informations
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 100 of file class.ilGroupRegistrationGUI.php.
References ilUtil\makeClickable().
|
protected |
fill max member informations
protected
Reimplemented from ilRegistrationGUI.
Definition at line 181 of file class.ilGroupRegistrationGUI.php.
References ilRegistrationGUI\$tpl, ilRegistrationGUI\$waiting_list, elseif(), ilRegistrationGUI\enableRegistration(), ilRegistrationGUI\getWaitingList(), ilUtil\sendFailure(), and ilCustomInputGUI\setHtml().
|
protected |
show informations about the registration period
protected
Reimplemented from ilRegistrationGUI.
Definition at line 116 of file class.ilGroupRegistrationGUI.php.
References $start, ilRegistrationGUI\$tpl, ilDateTime\_after(), ilDateTime\_before(), elseif(), ilRegistrationGUI\enableRegistration(), ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\sendFailure(), ilCustomInputGUI\setHtml(), and ilNonEditableValueGUI\setValue().
|
protected |
fill registration procedure
protected
@return |
Reimplemented from ilRegistrationGUI.
Definition at line 262 of file class.ilGroupRegistrationGUI.php.
References $_POST, $pass, ilRegistrationGUI\enableRegistration(), ilRegistrationGUI\getWaitingList(), GRP_REGISTRATION_DEACTIVATED, GRP_REGISTRATION_DIRECT, GRP_REGISTRATION_PASSWORD, GRP_REGISTRATION_REQUEST, isWaitingListActive(), ilUtil\sendFailure(), ilNonEditableValueGUI\setValue(), and ilTextAreaInputGUI\setValue().
|
protected |
get form title
protected
Reimplemented from ilRegistrationGUI.
Definition at line 82 of file class.ilGroupRegistrationGUI.php.
References ilRegistrationGUI\getWaitingList().
|
protected |
Init course participants.
protected
Reimplemented from ilRegistrationGUI.
Definition at line 488 of file class.ilGroupRegistrationGUI.php.
References ilGroupParticipants\_getInstanceByObjId().
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 498 of file class.ilGroupRegistrationGUI.php.
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 507 of file class.ilGroupRegistrationGUI.php.
References ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
|
protected |
validate join request
protected
Reimplemented from ilRegistrationGUI.
Definition at line 387 of file class.ilGroupRegistrationGUI.php.
References $_POST, $pass, GRP_REGISTRATION_PASSWORD, ilRegistrationGUI\isRegistrationPossible(), and ilUtil\stripSlashes().