ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\components\Table\Setup\LegacyTableUpdateSteps11 Class Reference
+ Inheritance diagram for ILIAS\components\Table\Setup\LegacyTableUpdateSteps11:
+ Collaboration diagram for ILIAS\components\Table\Setup\LegacyTableUpdateSteps11:

Public Member Functions

 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 
 step_1 ()
 

Private Attributes

ilDBInterface $db
 

Detailed Description

Definition at line 23 of file LegacyTableUpdateSteps11.php.

Member Function Documentation

◆ prepare()

ILIAS\components\Table\Setup\LegacyTableUpdateSteps11::prepare ( \ilDBInterface  $db)

Prepare the execution of the steps.

Do not use anything from the globals or the DIC inside your steps, only use the instance of the database provided here.

Implements ilDatabaseUpdateSteps.

Definition at line 27 of file LegacyTableUpdateSteps11.php.

References ILIAS\components\Table\Setup\LegacyTableUpdateSteps11\$db.

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

◆ step_1()

ILIAS\components\Table\Setup\LegacyTableUpdateSteps11::step_1 ( )

Definition at line 32 of file LegacyTableUpdateSteps11.php.

32  : void
33  {
34  if ($this->db->tableExists('table_templates')) {
35  $this->db->dropTable('table_templates');
36  }
37  }

Field Documentation

◆ $db

ilDBInterface ILIAS\components\Table\Setup\LegacyTableUpdateSteps11::$db
private

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