ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilChatroomInstaller Class Reference

Class ilChatroomInstaller. More...

+ Collaboration diagram for ilChatroomInstaller:

Static Public Member Functions

static setChatroomSettings ($obj_ids)
 Sets autogen_usernames default option for chatrooms. More...
 

Detailed Description

Class ilChatroomInstaller.

Author
Jan Posselt jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

Definition at line 10 of file class.ilChatroomInstaller.php.

Member Function Documentation

◆ setChatroomSettings()

static ilChatroomInstaller::setChatroomSettings (   $obj_ids)
static

Sets autogen_usernames default option for chatrooms.

Parameters
array$obj_ids

Definition at line 401 of file class.ilChatroomInstaller.php.

402 {
403 if (is_array($obj_ids)) {
404 foreach ($obj_ids as $obj_id) {
405 $room = new ilChatroom();
406 $room->saveSettings(array(
407 'object_id' => $obj_id,
408 'autogen_usernames' => 'Autogen #',
409 'room_type' => 'repository'
410 ));
411 }
412 }
413 }
Class ilChatroom.

The documentation for this class was generated from the following file: