ILIAS
release_4-3 Revision
|
GUI class for group registrations. More...
Public Member Functions | |
__construct ($a_container) | |
Constructor. | |
executeCommand () | |
Execute command. | |
Public Member Functions inherited from ilRegistrationGUI | |
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 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. | |
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 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 451 of file class.ilGroupRegistrationGUI.php.
References $_POST, $_SESSION, $ilCtrl, $ilUser, ilRegistrationGUI\$lng, ilRegistrationGUI\$waiting_list, ilWaitingList\addToList(), ilForumNotification\checkForumsExistsInsert(), GRP_REGISTRATION_REQUEST, IL_GRP_MEMBER, ilUtil\redirect(), ilUtil\sendSuccess(), ilRegistrationGUI\setAccepted(), 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 364 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 $cmd, $ilUser, 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 $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 116 of file class.ilGroupRegistrationGUI.php.
References ilRegistrationGUI\$tpl, ilDateTime\_after(), ilDateTime\_before(), 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 277 of file class.ilGroupRegistrationGUI.php.
References $_POST, $ilUser, $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 $ilUser, and ilRegistrationGUI\getWaitingList().
|
protected |
Init course participants.
protected
Reimplemented from ilRegistrationGUI.
Definition at line 537 of file class.ilGroupRegistrationGUI.php.
References ilGroupParticipants\_getInstanceByObjId().
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 547 of file class.ilGroupRegistrationGUI.php.
|
protected |
Reimplemented from ilRegistrationGUI.
Definition at line 556 of file class.ilGroupRegistrationGUI.php.
References $ilUser, and ilRegistrationGUI\getWaitingList().
Referenced by fillRegistrationType().
|
protected |
validate join request
protected
Reimplemented from ilRegistrationGUI.
Definition at line 402 of file class.ilGroupRegistrationGUI.php.
References $_POST, $ilUser, $pass, GRP_REGISTRATION_PASSWORD, ilRegistrationGUI\isRegistrationPossible(), ilUtil\stripSlashes(), ilRegistrationGUI\validateAgreement(), and ilRegistrationGUI\validateCustomFields().