ILIAS
release_8 Revision v8.23
|
Class ilChatroomFormFactory. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getCreationForm () | |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI. More... | |
getSettingsForm (ilObjectService $objectService, ilObjChatroom $chatroom) | |
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... | |
getClientSettingsForm () | |
Static Public Member Functions | |
static | applyValues (ilPropertyFormGUI $form, array $values) |
Applies given values to field in given form. More... | |
Protected Attributes | |
ilLanguage | $lng |
ilObjUser | $user |
ILIAS HTTP Services | $http |
Private Member Functions | |
addDefaultBehaviour (ilPropertyFormGUI $form) | |
Adds 'create-save' and 'cancel' button to given $form and returns it. More... | |
Class ilChatroomFormFactory.
Definition at line 27 of file class.ilChatroomFormFactory.php.
ilChatroomFormFactory::__construct | ( | ) |
Constructor.
Definition at line 36 of file class.ilChatroomFormFactory.php.
References $DIC, ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
private |
Adds 'create-save' and 'cancel' button to given $form and returns it.
ilPropertyFormGUI | $form |
Definition at line 82 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\addCommandButton(), and ILIAS\Repository\lng().
Referenced by getCreationForm().
|
static |
Applies given values to field in given form.
ilPropertyFormGUI | $form | |
array | $values |
Definition at line 50 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\setValuesByArray().
Referenced by ilChatroomSettingsGUI\general().
ilChatroomFormFactory::getClientSettingsForm | ( | ) |
Definition at line 263 of file class.ilChatroomFormFactory.php.
References $auth, $http, $name, ilNumberInputGUI\allowDecimals(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setInfo().
ilChatroomFormFactory::getCreationForm | ( | ) |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI.
Definition at line 64 of file class.ilChatroomFormFactory.php.
References addDefaultBehaviour(), and ILIAS\Repository\lng().
ilChatroomFormFactory::getFileUploadForm | ( | ) |
Prepares Fileupload form and returns it.
Definition at line 167 of file class.ilChatroomFormFactory.php.
References ILIAS\Repository\lng().
ilChatroomFormFactory::getPeriodForm | ( | ) |
Returns period form.
Definition at line 186 of file class.ilChatroomFormFactory.php.
References ILIAS\Repository\lng(), and ilDateDurationInputGUI\setStartText().
ilChatroomFormFactory::getSessionForm | ( | array | $sessions | ) |
Returns session form with period set by given $sessions.
array | $sessions |
Definition at line 239 of file class.ilChatroomFormFactory.php.
References $session, ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ILIAS\Repository\lng().
ilChatroomFormFactory::getSettingsForm | ( | ilObjectService | $objectService, |
ilObjChatroom | $chatroom | ||
) |
Definition at line 90 of file class.ilChatroomFormFactory.php.
References $txt, ilObjectService\commonSettings(), ILIAS\Repository\lng(), ilFormPropertyGUI\setInfo(), ilFormPropertyGUI\setRequired(), ilDateDurationInputGUI\setShowTime(), ilNumberInputGUI\setSuffix(), and ilCheckboxInputGUI\setValue().
ilChatroomFormFactory::getUserChatNameSelectionForm | ( | array | $name_options | ) |
Returns chatname selection form.
array<string,string> | $name_options |
Definition at line 207 of file class.ilChatroomFormFactory.php.
References ILIAS\LTI\ToolProvider\$key, $txt, ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
protected |
Definition at line 31 of file class.ilChatroomFormFactory.php.
Referenced by getClientSettingsForm().
|
protected |
Definition at line 29 of file class.ilChatroomFormFactory.php.
|
protected |
Definition at line 30 of file class.ilChatroomFormFactory.php.