ILIAS
Release_3_10_x_branch Revision 61812
|
Base class for Course and Group registration. More...
Public Member Functions | |
__construct ($a_container) | |
Constructor. | |
cancel () | |
cancel subscription | |
show () | |
show registration form | |
join () | |
join | |
ilRegistrationGUI () | |
executeCommand () | |
login () | |
displayForm () | |
showUserDefinedFields () | |
checkUserDefinedRequiredFields () | |
saveForm () | |
__validateRole () | |
__assignRole () | |
__showRoleSelection () | |
__distributeMails () |
Protected Member Functions | |
isRegistrationPossible () | |
check if registration is possible | |
enableRegistration ($a_status) | |
set registration disabled | |
initParticipants () | |
Init participants object (course or group participants) | |
getFormTitle () | |
Get title for property form. | |
fillInformations () | |
fill informations | |
fillRegistrationPeriod () | |
show informations about the registration period | |
fillMaxMembers () | |
show informations about the maximum number of user. | |
fillRegistrationType () | |
show informations about registration procedure | |
fillMembershipLimitation () | |
Show membership limitations. | |
fillAgreement () | |
Show user agreement. | |
validate () | |
validate join request | |
initForm () | |
init registration form |
Protected Attributes | |
$container = null | |
$ref_id | |
$obj_id | |
$participants | |
$form | |
$registration_possible = true | |
$join_error = '' | |
$tpl | |
$lng | |
$ctrl |
Base class for Course and Group registration.
Class ilRegistrationGUI.
Definition at line 33 of file class.ilRegistrationGUI.php.
ilRegistrationGUI::__construct | ( | $a_container | ) |
Constructor.
public
object | Course or Group object |
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 57 of file class.ilRegistrationGUI.php.
References $ilCtrl, $lng, $tpl, ilObject\_lookupObjId(), ilObject\_lookupType(), and initParticipants().
ilRegistrationGUI::__assignRole | ( | ) |
Definition at line 621 of file class.ilRegistrationGUI.php.
Referenced by saveForm().
ilRegistrationGUI::__distributeMails | ( | ) |
Definition at line 670 of file class.ilRegistrationGUI.php.
References $GLOBALS, $lng, ilObjUser\_lookupLanguage(), ilObjUser\_lookupLogin(), ilObjUserFolder\_lookupNewAccountMail(), and IL_REG_APPROVE.
Referenced by saveForm().
ilRegistrationGUI::__showRoleSelection | ( | ) |
Definition at line 643 of file class.ilRegistrationGUI.php.
References ilObjRole\_lookupRegisterAllowed(), and ilUtil\formSelect().
Referenced by displayForm().
ilRegistrationGUI::__validateRole | ( | ) |
Definition at line 605 of file class.ilRegistrationGUI.php.
References $ilErr, $lng, ilObjRole\_lookupAllowRegister(), and ilObject\_lookupTitle().
Referenced by saveForm().
ilRegistrationGUI::cancel | ( | ) |
cancel subscription
public
Definition at line 221 of file class.ilRegistrationGUI.php.
ilRegistrationGUI::checkUserDefinedRequiredFields | ( | ) |
Definition at line 359 of file class.ilRegistrationGUI.php.
References ilUserDefinedFields\_getInstance().
Referenced by saveForm().
ilRegistrationGUI::displayForm | ( | ) |
Definition at line 125 of file class.ilRegistrationGUI.php.
References $data, $lng, __showRoleSelection(), ilUserAgreement\_getText(), ilLanguage\_lookupEntry(), ilUtil\formCheckbox(), ilUtil\getImagePath(), ilUtil\prepareFormOutput(), and showUserDefinedFields().
Referenced by executeCommand(), and saveForm().
|
protected |
set registration disabled
protected
bool |
Definition at line 95 of file class.ilRegistrationGUI.php.
Referenced by ilGroupRegistrationGUI\fillMaxMembers(), ilCourseRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilGroupRegistrationGUI\fillRegistrationPeriod(), ilCourseRegistrationGUI\fillRegistrationPeriod(), ilGroupRegistrationGUI\fillRegistrationType(), and ilCourseRegistrationGUI\fillRegistrationType().
ilRegistrationGUI::executeCommand | ( | ) |
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 61 of file class.ilRegistrationGUI.php.
References $cmd, $ilErr, $tpl, displayForm(), and IL_REG_DISABLED.
|
protected |
Show user agreement.
protected
Reimplemented in ilCourseRegistrationGUI.
Definition at line 210 of file class.ilRegistrationGUI.php.
Referenced by initForm().
|
abstractprotected |
fill informations
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
abstractprotected |
show informations about the maximum number of user.
protected
@return |
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
protected |
Show membership limitations.
protected
Definition at line 156 of file class.ilRegistrationGUI.php.
References $obj_id, $ref_id, $title, $tpl, ilObjCourseGrouping\_checkGroupingDependencies(), ilObjCourseGrouping\_getGroupingItems(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), enableRegistration(), ilUtil\getTypeIconPath(), and ilCustomInputGUI\setHtml().
Referenced by initForm().
|
abstractprotected |
show informations about the registration period
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
abstractprotected |
show informations about registration procedure
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
|
abstractprotected |
Get title for property form.
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by initForm().
ilRegistrationGUI::ilRegistrationGUI | ( | ) |
Definition at line 46 of file class.ilRegistrationGUI.php.
|
protected |
init registration form
protected
Definition at line 279 of file class.ilRegistrationGUI.php.
References fillAgreement(), fillInformations(), fillMaxMembers(), fillMembershipLimitation(), fillRegistrationPeriod(), fillRegistrationType(), getFormTitle(), and isRegistrationPossible().
Referenced by join(), and show().
|
abstractprotected |
Init participants object (course or group participants)
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Referenced by __construct().
|
protected |
check if registration is possible
protected
Definition at line 83 of file class.ilRegistrationGUI.php.
References $registration_possible.
Referenced by ilCourseRegistrationGUI\fillAgreement(), initForm(), ilGroupRegistrationGUI\validate(), and ilCourseRegistrationGUI\validate().
ilRegistrationGUI::join | ( | ) |
join
public
@return |
Definition at line 247 of file class.ilRegistrationGUI.php.
References initForm(), ilUtil\sendInfo(), show(), and validate().
ilRegistrationGUI::login | ( | ) |
Definition at line 90 of file class.ilRegistrationGUI.php.
References $_GET, $ilLog, $lng, ilUtil\getImagePath(), IL_REG_APPROVE, and IL_REG_DIRECT.
Referenced by saveForm().
ilRegistrationGUI::saveForm | ( | ) |
Definition at line 375 of file class.ilRegistrationGUI.php.
References $ilErr, $lng, __assignRole(), __distributeMails(), __validateRole(), ilObjUser\_loginExists(), checkUserDefinedRequiredFields(), displayForm(), ilUtil\generatePasswords(), IL_PASSWD_PLAIN, IL_REG_DIRECT, ilUtil\is_email(), ilUtil\isLogin(), ilUtil\isPassword(), login(), and ilUtil\sendInfo().
ilRegistrationGUI::show | ( | ) |
show registration form
public
@return |
Definition at line 233 of file class.ilRegistrationGUI.php.
References initForm().
Referenced by join().
ilRegistrationGUI::showUserDefinedFields | ( | ) |
Definition at line 308 of file class.ilRegistrationGUI.php.
References ilUserDefinedFields\_getInstance(), ilUtil\formSelect(), ilUtil\prepareFormOutput(), and UDF_TYPE_TEXT.
Referenced by displayForm().
|
protected |
validate join request
protected
Reimplemented in ilCourseRegistrationGUI, and ilGroupRegistrationGUI.
Definition at line 268 of file class.ilRegistrationGUI.php.
Referenced by join().
|
protected |
Definition at line 35 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 48 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 40 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 43 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 47 of file class.ilRegistrationGUI.php.
Referenced by __construct(), __distributeMails(), __validateRole(), ilGroupRegistrationGUI\add(), displayForm(), ilRegistrationGUI(), login(), and saveForm().
|
protected |
Definition at line 37 of file class.ilRegistrationGUI.php.
Referenced by fillMembershipLimitation().
|
protected |
Definition at line 39 of file class.ilRegistrationGUI.php.
|
protected |
Definition at line 36 of file class.ilRegistrationGUI.php.
Referenced by fillMembershipLimitation().
|
protected |
Definition at line 42 of file class.ilRegistrationGUI.php.
Referenced by isRegistrationPossible().
|
protected |
Definition at line 46 of file class.ilRegistrationGUI.php.
Referenced by __construct(), executeCommand(), ilCourseRegistrationGUI\fillAgreement(), ilGroupRegistrationGUI\fillMaxMembers(), ilCourseRegistrationGUI\fillMaxMembers(), fillMembershipLimitation(), ilGroupRegistrationGUI\fillRegistrationPeriod(), ilCourseRegistrationGUI\fillRegistrationPeriod(), and ilRegistrationGUI().