ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilTreeDBUpdateSteps8 Class Reference
+ Inheritance diagram for ilTreeDBUpdateSteps8:
+ Collaboration diagram for ilTreeDBUpdateSteps8:

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

Member Function Documentation

◆ prepare()

ilTreeDBUpdateSteps8::prepare ( ilDBInterface  $db)

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

28 : void
29 {
30 $this->db = $db;
31 }

References $db.

◆ step_1()

ilTreeDBUpdateSteps8::step_1 ( )

Definition at line 33 of file class.ilTreeDBUpdateSteps8.php.

33 : void
34 {
35 // Add index
36 if ($this->db->indexExistsByFields('tree', ['child'])) {
37 $this->db->dropIndex('tree', 'i1');
38 }
39 }

Field Documentation

◆ $db

ilDBInterface ilTreeDBUpdateSteps8::$db
protected

Definition at line 26 of file class.ilTreeDBUpdateSteps8.php.

Referenced by prepare().


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