ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
|
Public Member Functions | |
__construct () | |
getSettingsForm (ilChatroomObjectGUI $gui, ilCtrlInterface $ctrl, ?array $values=null, bool $may_write=false) | |
getPeriodForm () | |
getUserChatNameSelectionForm (array $name_options) | |
Returns chatname selection form. More... | |
getClientSettingsForm () | |
Static Public Member Functions | |
static | applyValues (ilPropertyFormGUI $form, array $values) |
Applies given values to field in given form. More... | |
Data Fields | |
const | PROP_TITLE_AND_DESC = 'title_and_desc' |
const | PROP_ONLINE_STATUS = 'online_status' |
const | PROP_TILE_IMAGE = 'tile_image' |
const | PROP_DISPLAY_PAST_MSG = 'display_past_msgs' |
const | PROP_ENABLE_HISTORY = 'enable_history' |
const | PROP_ALLOW_ANONYMOUS = 'allow_anonymous' |
const | PROP_ALLOW_CUSTOM_NAMES = 'allow_custom_usernames' |
const | PROP_AUTOGEN_USERNAMES = 'autogen_usernames' |
Protected Attributes | |
ilLanguage | $lng |
ilObjUser | $user |
ILIAS HTTP Services | $http |
ILIAS UI Factory | $ui_factory |
ILIAS Refinery Factory | $refinery |
Private Member Functions | |
mergeValuesTrafo () | |
saniziteArrayElementsTrafo () | |
Definition at line 21 of file class.ilChatroomFormFactory.php.
ilChatroomFormFactory::__construct | ( | ) |
Definition at line 38 of file class.ilChatroomFormFactory.php.
References $DIC, ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
|
static |
Applies given values to field in given form.
Definition at line 52 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\setValuesByArray().
ilChatroomFormFactory::getClientSettingsForm | ( | ) |
Definition at line 254 of file class.ilChatroomFormFactory.php.
References $http, ilNumberInputGUI\allowDecimals(), ILIAS\Repository\lng(), and ilFormPropertyGUI\setInfo().
ilChatroomFormFactory::getPeriodForm | ( | ) |
Definition at line 207 of file class.ilChatroomFormFactory.php.
References $duration, and ILIAS\Repository\lng().
ilChatroomFormFactory::getSettingsForm | ( | ilChatroomObjectGUI | $gui, |
ilCtrlInterface | $ctrl, | ||
?array | $values = null , |
||
bool | $may_write = false |
||
) |
Definition at line 84 of file class.ilChatroomFormFactory.php.
References ilCtrlInterface\getFormAction(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), mergeValuesTrafo(), null, ILIAS\Repository\refinery(), saniziteArrayElementsTrafo(), and ILIAS\UI\Implementation\Component\Input\withValue().
ilChatroomFormFactory::getUserChatNameSelectionForm | ( | array | $name_options | ) |
Returns chatname selection form.
array<string,string> | $name_options |
Definition at line 227 of file class.ilChatroomFormFactory.php.
References $txt, ILIAS\Repository\lng(), and ILIAS\Repository\user().
|
private |
Definition at line 62 of file class.ilChatroomFormFactory.php.
References ILIAS\Repository\refinery().
Referenced by getSettingsForm().
|
private |
Definition at line 67 of file class.ilChatroomFormFactory.php.
References $data, ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by getSettingsForm().
|
protected |
Definition at line 34 of file class.ilChatroomFormFactory.php.
Referenced by getClientSettingsForm().
|
protected |
Definition at line 32 of file class.ilChatroomFormFactory.php.
|
protected |
Definition at line 36 of file class.ilChatroomFormFactory.php.
|
protected |
Definition at line 35 of file class.ilChatroomFormFactory.php.
|
protected |
Definition at line 33 of file class.ilChatroomFormFactory.php.
const ilChatroomFormFactory::PROP_ALLOW_ANONYMOUS = 'allow_anonymous' |
Definition at line 28 of file class.ilChatroomFormFactory.php.
const ilChatroomFormFactory::PROP_ALLOW_CUSTOM_NAMES = 'allow_custom_usernames' |
Definition at line 29 of file class.ilChatroomFormFactory.php.
Referenced by ilChatroomSettingsGUI\saveGeneral().
const ilChatroomFormFactory::PROP_AUTOGEN_USERNAMES = 'autogen_usernames' |
Definition at line 30 of file class.ilChatroomFormFactory.php.
Referenced by ilChatroomSettingsGUI\saveGeneral().
const ilChatroomFormFactory::PROP_DISPLAY_PAST_MSG = 'display_past_msgs' |
Definition at line 26 of file class.ilChatroomFormFactory.php.
const ilChatroomFormFactory::PROP_ENABLE_HISTORY = 'enable_history' |
Definition at line 27 of file class.ilChatroomFormFactory.php.
const ilChatroomFormFactory::PROP_ONLINE_STATUS = 'online_status' |
Definition at line 24 of file class.ilChatroomFormFactory.php.
Referenced by ilChatroomSettingsGUI\saveGeneral().
const ilChatroomFormFactory::PROP_TILE_IMAGE = 'tile_image' |
Definition at line 25 of file class.ilChatroomFormFactory.php.
Referenced by ilChatroomSettingsGUI\saveGeneral().
const ilChatroomFormFactory::PROP_TITLE_AND_DESC = 'title_and_desc' |
Definition at line 23 of file class.ilChatroomFormFactory.php.
Referenced by ilChatroomSettingsGUI\saveGeneral().