Class ilChatroomInstaller.
More...
◆ setChatroomSettings()
static ilChatroomInstaller::setChatroomSettings |
( |
|
$obj_ids | ) |
|
|
static |
Sets autogen_usernames default option for chatrooms.
- Parameters
-
Definition at line 401 of file class.ilChatroomInstaller.php.
402 {
403 if (is_array($obj_ids)) {
404 foreach ($obj_ids as $obj_id) {
406 $room->saveSettings(array(
407 'object_id' => $obj_id,
408 'autogen_usernames' => 'Autogen #',
409 'room_type' => 'repository'
410 ));
411 }
412 }
413 }
The documentation for this class was generated from the following file: