ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ilBackgroundTasksDB80 Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilBackgroundTasksDB80:
+ Collaboration diagram for ilBackgroundTasksDB80:

Public Member Functions

 prepare (ilDBInterface $db)
 
 step_1 ()
 
- Public Member Functions inherited from ilDatabaseUpdateSteps
 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Definition at line 19 of file class.ilBackgroundTasksDB80.php.

Member Function Documentation

◆ prepare()

ilBackgroundTasksDB80::prepare ( ilDBInterface  $db)

Definition at line 23 of file class.ilBackgroundTasksDB80.php.

References $db.

23  : void
24  {
25  $this->db = $db;
26  }

◆ step_1()

ilBackgroundTasksDB80::step_1 ( )

Definition at line 28 of file class.ilBackgroundTasksDB80.php.

28  : void
29  {
30  if (!$this->db->indexExistsByFields('il_bt_bucket', ['user_id'])) {
31  $this->db->addIndex('il_bt_bucket', ['user_id'], 'i1');
32  }
33  }

Field Documentation

◆ $db

ilDBInterface ilBackgroundTasksDB80::$db
protected

Definition at line 21 of file class.ilBackgroundTasksDB80.php.

Referenced by prepare().


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