ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
GUI class for group registrations. More...
Public Member Functions | |
__construct ($a_container) | |
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 member informations More... | |
fillRegistrationType () | |
fill registration procedure More... | |
addCommandButtons () | |
Add group specific command buttons. More... | |
validate () | |
validate join 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 () | |
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 group registrations.
Definition at line 36 of file class.ilGroupRegistrationGUI.php.
ilGroupRegistrationGUI::__construct | ( | $a_container | ) |
Constructor.
public
object | container object |
Definition at line 44 of file class.ilGroupRegistrationGUI.php.
|
protected |
add user
protected
Definition at line 424 of file class.ilGroupRegistrationGUI.php.
References $_POST, $_SESSION, $ilCtrl, $ilUser, $info, ilRegistrationGUI\$lng, ilRegistrationGUI\$waiting_list, ilGroupWaitingList\addToList(), ilForumNotification\checkForumsExistsInsert(), GRP_REGISTRATION_REQUEST, IL_GRP_MEMBER, ilUtil\redirect(), ilUtil\sendSuccess(), ilRegistrationGUI\setAccepted(), ilUtil\stripSlashes(), time, 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.
Definition at line 349 of file class.ilGroupRegistrationGUI.php.
References $ilUser, GRP_REGISTRATION_REQUEST, and ilRegistrationGUI\isRegistrationPossible().
ilGroupRegistrationGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 54 of file class.ilGroupRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
|
protected |
fill informations
protected
Definition at line 97 of file class.ilGroupRegistrationGUI.php.
References ilUtil\makeClickable().
|
protected |
fill max member informations
protected
Definition at line 170 of file class.ilGroupRegistrationGUI.php.
References $ilUser, ilRegistrationGUI\$tpl, ilRegistrationGUI\$waiting_list, ilRegistrationGUI\enableRegistration(), ilRegistrationGUI\getContainer(), ilRegistrationGUI\getWaitingList(), ilObjGroupAccess\lookupRegistrationInfo(), ilUtil\sendFailure(), and ilCustomInputGUI\setHtml().
|
protected |
show informations about the registration period
protected
Definition at line 112 of file class.ilGroupRegistrationGUI.php.
References $end, ilRegistrationGUI\$tpl, $warning, ilDateTime\_after(), ilDateTime\_before(), ilRegistrationGUI\enableRegistration(), ilDatePresentation\formatDate(), IL_CAL_UNIX, ilUtil\sendFailure(), ilCustomInputGUI\setHtml(), ilNonEditableValueGUI\setValue(), and time.
|
protected |
fill registration procedure
protected
Definition at line 263 of file class.ilGroupRegistrationGUI.php.
References $_POST, $ilUser, $pass, $txt, 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
Definition at line 80 of file class.ilGroupRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
|
protected |
Init course participants.
protected
Definition at line 513 of file class.ilGroupRegistrationGUI.php.
References ilGroupParticipants\_getInstanceByObjId().
|
protected |
Definition at line 523 of file class.ilGroupRegistrationGUI.php.
|
protected |
Definition at line 532 of file class.ilGroupRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
|
protected |
validate join request
protected
Definition at line 382 of file class.ilGroupRegistrationGUI.php.
References $_POST, $ilUser, $pass, GRP_REGISTRATION_PASSWORD, ilRegistrationGUI\isRegistrationPossible(), ilUtil\stripSlashes(), ilRegistrationGUI\validateAgreement(), and ilRegistrationGUI\validateCustomFields().