ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
LSODropActivationDBUpdateSteps 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 LSODropActivationDBUpdateSteps:
+ Collaboration diagram for LSODropActivationDBUpdateSteps:

Public Member Functions

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

Protected Attributes

ilDBInterface $db
 

Private Attributes

const TABLE_NAME = "lso_activation"
 

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.LSODropActivationDBUpdateSteps.php.

Member Function Documentation

◆ prepare()

LSODropActivationDBUpdateSteps::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 25 of file class.LSODropActivationDBUpdateSteps.php.

25 : void
26 {
27 $this->db = $db;
28 }

References $db.

◆ step_1()

LSODropActivationDBUpdateSteps::step_1 ( )

Definition at line 30 of file class.LSODropActivationDBUpdateSteps.php.

30 : void
31 {
32 $this->db->dropTable(self::TABLE_NAME);
33 }

Field Documentation

◆ $db

ilDBInterface LSODropActivationDBUpdateSteps::$db
protected

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

Referenced by prepare().

◆ TABLE_NAME

const LSODropActivationDBUpdateSteps::TABLE_NAME = "lso_activation"
private

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


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