ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilChatroomInstaller Class Reference

Class ilChatroomInstaller. More...

+ Collaboration diagram for ilChatroomInstaller:

Static Public Member Functions

static setChatroomSettings (array $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 27 of file class.ilChatroomInstaller.php.

Member Function Documentation

◆ setChatroomSettings()

static ilChatroomInstaller::setChatroomSettings ( array  $obj_ids)
static

Sets autogen_usernames default option for chatrooms.

Parameters
int[]$obj_ids

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

References $DIC, $id, $ilDB, $ref_id, $res, ilConditionHandler\_adjustMovedObjectConditions(), and ILIAS\Repository\int().

392  : void
393  {
394  foreach ($obj_ids as $obj_id) {
395  $room = new ilChatroom();
396  $room->saveSettings([
397  'object_id' => $obj_id,
398  'autogen_usernames' => 'Autogen #',
399  'room_type' => 'repository'
400  ]);
401  }
402  }
+ Here is the call graph for this function:

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