ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules 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. 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 11 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 455 of file class.ilChatroomInstaller.php.

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

456  {
457  if(is_array($obj_ids))
458  {
459  foreach($obj_ids as $obj_id)
460  {
461  $room = new ilChatroom();
462  $room->saveSettings(array(
463  'object_id' => $obj_id,
464  'autogen_usernames' => 'Autogen #',
465  'room_type' => 'repository'
466  ));
467  }
468  }
469  }
Class ilChatroom.
+ Here is the call graph for this function:

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