ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilScorm2004DatabaseUpdateSteps 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 ilScorm2004DatabaseUpdateSteps:
+ Collaboration diagram for ilScorm2004DatabaseUpdateSteps:

Public Member Functions

 prepare (ilDBInterface $db)
 
 step_1 ()
 
 step_2 ()
 
- 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 21 of file class.ilScorm2004DatabaseUpdateSteps.php.

Member Function Documentation

◆ prepare()

ilScorm2004DatabaseUpdateSteps::prepare ( ilDBInterface  $db)

Definition at line 25 of file class.ilScorm2004DatabaseUpdateSteps.php.

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

References $db.

◆ step_1()

ilScorm2004DatabaseUpdateSteps::step_1 ( )

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

30 : void
31 {
32 $this->db->modifyTableColumn("cmi_interaction", "c_timestamp", array("type" => "text", "length" => 40, "notnull" => false, 'default' => null));
33 }

◆ step_2()

ilScorm2004DatabaseUpdateSteps::step_2 ( )

Definition at line 35 of file class.ilScorm2004DatabaseUpdateSteps.php.

35 : void
36 {
37 $this->db->modifyTableColumn("cp_dependency", "resourceid", array("type" => "text", "length" => 200, "notnull" => false, 'default' => null));
38 }

Field Documentation

◆ $db

ilDBInterface ilScorm2004DatabaseUpdateSteps::$db
protected

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

Referenced by prepare().


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