ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilChatroomFormFactory. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getCreationForm () | |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI. More... | |
getSettingsForm () | |
getFileUploadForm () | |
Prepares Fileupload form and returns it. More... | |
getPeriodForm () | |
Returns period form. More... | |
getUserChatNameSelectionForm (array $name_options) | |
Returns chatname selection form. More... | |
getSessionForm (array $sessions) | |
Returns session form with period set by given $sessions. More... | |
getGeneralSettingsForm () | |
Returns general settings form. More... | |
getClientSettingsForm () | |
Static Public Member Functions | |
static | applyValues (ilPropertyFormGUI $form, array $values) |
Applies given values to field in given form. More... | |
Protected Attributes | |
$lng | |
$user | |
Private Member Functions | |
addDefaultBehaviour (ilPropertyFormGUI $form) | |
Adds 'create-save' and 'cancel' button to given $form and returns it. More... | |
Class ilChatroomFormFactory.
Definition at line 12 of file class.ilChatroomFormFactory.php.
ilChatroomFormFactory::__construct | ( | ) |
Constructor.
Definition at line 27 of file class.ilChatroomFormFactory.php.
|
private |
Adds 'create-save' and 'cancel' button to given $form and returns it.
ilPropertyFormGUI | $form |
Definition at line 69 of file class.ilChatroomFormFactory.php.
References $form, and ilPropertyFormGUI\addCommandButton().
Referenced by getCreationForm().
|
static |
Applies given values to field in given form.
ilPropertyFormGUI | $form | |
array | $values |
Definition at line 40 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\setValuesByArray().
Referenced by ilChatroomSettingsGUI\general().
ilChatroomFormFactory::getClientSettingsForm | ( | ) |
Definition at line 384 of file class.ilChatroomFormFactory.php.
References $auth, $form, $name, ilFormPropertyGUI\setInfo(), and ilNumberInputGUI\setMinValue().
ilChatroomFormFactory::getCreationForm | ( | ) |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI.
Definition at line 51 of file class.ilChatroomFormFactory.php.
References $description, $form, $title, and addDefaultBehaviour().
ilChatroomFormFactory::getFileUploadForm | ( | ) |
Prepares Fileupload form and returns it.
Definition at line 142 of file class.ilChatroomFormFactory.php.
References $form.
ilChatroomFormFactory::getGeneralSettingsForm | ( | ) |
Returns general settings form.
Definition at line 243 of file class.ilChatroomFormFactory.php.
References $certificate, $form, $http, $https, $key, GuzzleHttp\Psr7\$protocol, ilNumberInputGUI\allowDecimals(), ilRadioOption\setInfo(), ilFormPropertyGUI\setInfo(), ilNumberInputGUI\setMinValue(), ilSelectInputGUI\setOptions(), and ilFormPropertyGUI\setRequired().
ilChatroomFormFactory::getPeriodForm | ( | ) |
Returns period form.
Definition at line 161 of file class.ilChatroomFormFactory.php.
References $form, and ilDateDurationInputGUI\setStartText().
ilChatroomFormFactory::getSessionForm | ( | array | $sessions | ) |
Returns session form with period set by given $sessions.
array | $sessions |
Definition at line 215 of file class.ilChatroomFormFactory.php.
References $end, $form, $list, PHPMailer\PHPMailer\$options, $session, $start, ilDatePresentation\formatPeriod(), and IL_CAL_UNIX.
ilChatroomFormFactory::getSettingsForm | ( | ) |
Definition at line 80 of file class.ilChatroomFormFactory.php.
References $description, $form, $section, $title, $txt, ilFormPropertyGUI\setInfo(), ilDateDurationInputGUI\setShowTime(), and ilCheckboxInputGUI\setValue().
ilChatroomFormFactory::getUserChatNameSelectionForm | ( | array | $name_options | ) |
Returns chatname selection form.
array | $name_options |
Definition at line 183 of file class.ilChatroomFormFactory.php.
References $form, $key, $txt, ilSubEnabledFormPropertyGUI\addSubItem(), and user().
|
protected |
Definition at line 17 of file class.ilChatroomFormFactory.php.
|
protected |
Definition at line 22 of file class.ilChatroomFormFactory.php.