ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
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 424 of file class.ilChatroomInstaller.php.

References $ilDB, $query, $ref_id, $res, $row, ilConditionHandler\_adjustMovedObjectConditions(), and array.

425  {
426  if(is_array($obj_ids))
427  {
428  foreach($obj_ids as $obj_id)
429  {
430  $room = new ilChatroom();
431  $room->saveSettings(array(
432  'object_id' => $obj_id,
433  'autogen_usernames' => 'Autogen #',
434  'room_type' => 'repository'
435  ));
436  }
437  }
438  }
Create styles array
The data for the language used.
Class ilChatroom.
+ Here is the call graph for this function:

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