ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroomFormFactory. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getCreationForm () | |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI. | |
getSettingsForm () | |
Returns settings form. | |
getFileUploadForm () | |
Prepares Fileupload form and returns it. | |
getPeriodForm () | |
Returns period form. | |
getUserChatNameSelectionForm (array $name_options) | |
Returns chatname selection form. | |
getSessionForm ($sessions) | |
Returns session form with period set by given $sessions. | |
getGeneralSettingsForm () | |
Returns general settings form. | |
getClientSettingsForm () |
Static Public Member Functions | |
static | applyValues (ilPropertyFormGUI $form, $values) |
Applies given values to field in given form. |
Private Member Functions | |
addDefaultBehaviour (ilPropertyFormGUI $form) | |
Adds 'create-save' and 'cancel' button to given $form and returns it. |
Class ilChatroomFormFactory.
Definition at line 13 of file class.ilChatroomFormFactory.php.
ilChatroomFormFactory::__construct | ( | ) |
Constructor.
Requires ilPropertyFormGUI
Definition at line 21 of file class.ilChatroomFormFactory.php.
|
private |
Adds 'create-save' and 'cancel' button to given $form and returns it.
ilLanguage $lng
ilPropertyFormGUI | $form |
Definition at line 161 of file class.ilChatroomFormFactory.php.
References $lng, and ilPropertyFormGUI\addCommandButton().
Referenced by getCreationForm().
|
static |
Applies given values to field in given form.
ilPropertyFormGUI | $form | |
array | $values |
Definition at line 57 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\getItemByPostVar().
Referenced by ilChatroomSettingsTask\general().
ilChatroomFormFactory::getClientSettingsForm | ( | ) |
Definition at line 324 of file class.ilChatroomFormFactory.php.
References $lng, ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMinValue(), and ilFormPropertyGUI\setRequired().
ilChatroomFormFactory::getCreationForm | ( | ) |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI.
ilLanguage $lng
Definition at line 35 of file class.ilChatroomFormFactory.php.
References $lng, $title, and addDefaultBehaviour().
ilChatroomFormFactory::getFileUploadForm | ( | ) |
Prepares Fileupload form and returns it.
ilLanguage $lng
Definition at line 137 of file class.ilChatroomFormFactory.php.
References $lng.
ilChatroomFormFactory::getGeneralSettingsForm | ( | ) |
Returns general settings form.
ilLanguage $lng
Definition at line 277 of file class.ilChatroomFormFactory.php.
References $lng, ilRadioOption\addSubItem(), ilNumberInputGUI\setMinValue(), and ilFormPropertyGUI\setRequired().
ilChatroomFormFactory::getPeriodForm | ( | ) |
Returns period form.
ilLanguage $lng
Definition at line 177 of file class.ilChatroomFormFactory.php.
References $lng, and ilDateDurationInputGUI\setStartText().
ilChatroomFormFactory::getSessionForm | ( | $sessions | ) |
Returns session form with period set by given $sessions.
ilLanguage $lng
array | $sessions |
Definition at line 245 of file class.ilChatroomFormFactory.php.
References $lng, ilDatePresentation\formatPeriod(), and IL_CAL_UNIX.
ilChatroomFormFactory::getSettingsForm | ( | ) |
Returns settings form.
ilLanguage $lng
Definition at line 87 of file class.ilChatroomFormFactory.php.
References $lng, $title, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
ilChatroomFormFactory::getUserChatNameSelectionForm | ( | array | $name_options | ) |
Returns chatname selection form.
ilLanguage $lng
array | $name_options |
Definition at line 201 of file class.ilChatroomFormFactory.php.
References $lng, and ilSubEnabledFormPropertyGUI\addSubItem().