ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps Class Reference
+ Inheritance diagram for ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps:
+ Collaboration diagram for ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps:

Public Member Functions

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

Protected Attributes

ilDBInterface $db
 

Detailed Description

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

Member Function Documentation

◆ prepare()

ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps::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 class.SurveyQuestionPoolDBUpdateSteps.php.

References ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps\$db.

◆ step_1()

ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps::step_1 ( )

Definition at line 32 of file class.SurveyQuestionPoolDBUpdateSteps.php.

32  : void
33  {
34  $this->db->modifyTableColumn('svy_question', 'title', array(
35  'type' => 'text',
36  'length' => 200,
37  'notnull' => false
38  ));
39  }

Field Documentation

◆ $db

ilDBInterface ILIAS\SurveyQuestionPool\Setup\SurveyQuestionPoolDBUpdateSteps::$db
protected

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