ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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.

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 11 of file class.ilChatroomInstaller.php.

Member Function Documentation

static ilChatroomInstaller::setChatroomSettings (   $obj_ids)
static

Sets autogen_usernames default option for chatrooms.

Parameters
array$obj_ids

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

{
if(is_array($obj_ids))
{
foreach($obj_ids as $obj_id)
{
$room = new ilChatroom();
$room->saveSettings(array(
'object_id' => $obj_id,
'autogen_usernames' => 'Autogen #',
'room_type' => 'repository'
));
}
}
}

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