ILIAS  release_8 Revision v8.19
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 (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 414 of file class.ilChatroomInstaller.php.

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

414  : void
415  {
416  foreach ($obj_ids as $obj_id) {
417  $room = new ilChatroom();
418  $room->saveSettings([
419  'object_id' => $obj_id,
420  'autogen_usernames' => 'Autogen #',
421  'room_type' => 'repository'
422  ]);
423  }
424  }
Class ilChatroom.
+ Here is the call graph for this function:

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