|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ilChatroomFormFactory:Public Member Functions | |
| __construct () | |
| getCreationForm () | |
| Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI. More... | |
| getSettingsForm (ilChatroomObjectGUI $gui, ilCtrlInterface $ctrl, ?array $values=null) | |
| getPeriodForm () | |
| 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... | |
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 | |
| addDefaultBehaviour (ilPropertyFormGUI $form) | |
| Adds 'create-save' and 'cancel' button to given $form and returns it. More... | |
| 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().
Here is the call graph for this function:
|
private |
Adds 'create-save' and 'cancel' button to given $form and returns it.
Definition at line 83 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\addCommandButton(), and ILIAS\Repository\lng().
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.
Definition at line 52 of file class.ilChatroomFormFactory.php.
References ilPropertyFormGUI\setValuesByArray().
Here is the call graph for this function:| ilChatroomFormFactory::getClientSettingsForm | ( | ) |
Definition at line 293 of file class.ilChatroomFormFactory.php.
References $http, ILIAS\Repository\lng(), and ilFormPropertyGUI\setInfo().
Here is the call graph for this function:| ilChatroomFormFactory::getCreationForm | ( | ) |
Instantiates and returns ilPropertyFormGUI containing ilTextInputGUI and ilTextAreaInputGUI.
Definition at line 67 of file class.ilChatroomFormFactory.php.
References addDefaultBehaviour(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilChatroomFormFactory::getPeriodForm | ( | ) |
Definition at line 219 of file class.ilChatroomFormFactory.php.
References $duration, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilChatroomFormFactory::getSessionForm | ( | array | $sessions | ) |
Returns session form with period set by given $sessions.
Definition at line 269 of file class.ilChatroomFormFactory.php.
References ilDatePresentation\formatPeriod(), IL_CAL_UNIX, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilChatroomFormFactory::getSettingsForm | ( | ilChatroomObjectGUI | $gui, |
| ilCtrlInterface | $ctrl, | ||
| ?array | $values = null |
||
| ) |
Definition at line 113 of file class.ilChatroomFormFactory.php.
References ilCtrlInterface\getFormAction(), ilObjectGUI\getObject(), ILIAS\Repository\lng(), mergeValuesTrafo(), ILIAS\Repository\refinery(), saniziteArrayElementsTrafo(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Here is the call graph for this function:| ilChatroomFormFactory::getUserChatNameSelectionForm | ( | array | $name_options | ) |
Returns chatname selection form.
| array<string,string> | $name_options |
Definition at line 239 of file class.ilChatroomFormFactory.php.
References ILIAS\LTI\ToolProvider\$key, $txt, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 91 of file class.ilChatroomFormFactory.php.
References ILIAS\Repository\refinery().
Referenced by getSettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 96 of file class.ilChatroomFormFactory.php.
References $data, ILIAS\LTI\ToolProvider\$key, ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by getSettingsForm().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().