ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSessionMembershipRegistrationSettingsGUI Class Reference

Registration settings. More...

+ Inheritance diagram for ilSessionMembershipRegistrationSettingsGUI:
+ Collaboration diagram for ilSessionMembershipRegistrationSettingsGUI:

Public Member Functions

 __construct (ilObjectGUI $gui_object, ilObject $object, $a_options)
 Overwitten to load language module.
 setFormValues (ilPropertyFormGUI $form)
 Set form values.
- Public Member Functions inherited from ilMembershipRegistrationSettingsGUI
 getCurrentObject ()
 Get current object.
 getCurrentGUI ()
 Get gui object.
 getOptions ()
 Get options.
 addMembershipFormElements (ilPropertyFormGUI $form, $a_parent_post= '')
 Add membership form elements.

Additional Inherited Members

- Protected Member Functions inherited from ilMembershipRegistrationSettingsGUI
 txt ($a_lang_key)
 Translate type specific.

Detailed Description

Registration settings.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 15 of file class.ilSessionMembershipRegistrationSettingsGUI.php.

Constructor & Destructor Documentation

ilSessionMembershipRegistrationSettingsGUI::__construct ( ilObjectGUI  $gui_object,
ilObject  $object,
  $a_options 
)

Overwitten to load language module.

Parameters
\ilObjectGUI$gui_object
\ilObject$object
type$a_options

Reimplemented from ilMembershipRegistrationSettingsGUI.

Definition at line 23 of file class.ilSessionMembershipRegistrationSettingsGUI.php.

References $GLOBALS.

{
parent::__construct($gui_object, $object, $a_options);
$GLOBALS['lng']->loadLanguageModule('sess');
}

Member Function Documentation

ilSessionMembershipRegistrationSettingsGUI::setFormValues ( ilPropertyFormGUI  $form)

Set form values.

Reimplemented from ilMembershipRegistrationSettingsGUI.

Definition at line 29 of file class.ilSessionMembershipRegistrationSettingsGUI.php.

References ilMembershipRegistrationSettingsGUI\getCurrentObject(), and ilPropertyFormGUI\getItemByPostVar().

{
$form->getItemByPostVar('registration_type')->setValue($this->getCurrentObject()->getRegistrationType());
$form->getItemByPostVar('registration_membership_limited')->setChecked($this->getCurrentObject()->isRegistrationUserLimitEnabled());
$form->getItemByPostVar('registration_max_members')->setValue(
$this->getCurrentObject()->getRegistrationMaxUsers() > 0 ?
$this->getCurrentObject()->getRegistrationMaxUsers() : "");
$form->getItemByPostVar('waiting_list')->setChecked($this->getCurrentObject()->isRegistrationWaitingListEnabled());
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: