|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroomFormFactory. More...
Collaboration diagram for ilChatroomFormFactory: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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomFormFactory::getClientSettingsForm | ( | ) |
Definition at line 324 of file class.ilChatroomFormFactory.php.
References $lng, ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMinValue(), and ilFormPropertyGUI\setRequired().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilChatroomFormFactory::getPeriodForm | ( | ) |
Returns period form.
ilLanguage $lng
Definition at line 177 of file class.ilChatroomFormFactory.php.
References $lng, and ilDateDurationInputGUI\setStartText().
Here is the call graph for this function:| 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.
Here is the call graph for this function:| ilChatroomFormFactory::getSettingsForm | ( | ) |
Returns settings form.
ilLanguage $lng
Definition at line 87 of file class.ilChatroomFormFactory.php.
References $lng, $title, ilFormPropertyGUI\setInfo(), and ilFormPropertyGUI\setRequired().
Here is the call graph for this function:| 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().
Here is the call graph for this function: