Class ilChatroomInstaller.
More...
◆ setChatroomSettings()
static ilChatroomInstaller::setChatroomSettings |
( |
|
$obj_ids | ) |
|
|
static |
Sets autogen_usernames default option for chatrooms.
- Parameters
-
Definition at line 455 of file class.ilChatroomInstaller.php.
456 {
457 if(is_array($obj_ids))
458 {
459 foreach($obj_ids as $obj_id)
460 {
462 $room->saveSettings(array(
463 'object_id' => $obj_id,
464 'autogen_usernames' => 'Autogen #',
465 'room_type' => 'repository'
466 ));
467 }
468 }
469 }
The documentation for this class was generated from the following file: