ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilStudyProgrammeAutoMembershipTableUpdateSteps Class Reference
+ Inheritance diagram for ilStudyProgrammeAutoMembershipTableUpdateSteps:
+ Collaboration diagram for ilStudyProgrammeAutoMembershipTableUpdateSteps:

Public Member Functions

 prepare (ilDBInterface $db)
 
 step_1 ()
 
- Public Member Functions inherited from ilDatabaseUpdateSteps
 prepare (\ilDBInterface $db)
 Prepare the execution of the steps. More...
 

Data Fields

const TABLE_NAME = 'prg_auto_membership'
 

Protected Attributes

ilDBInterface $db
 

Detailed Description

Member Function Documentation

◆ prepare()

ilStudyProgrammeAutoMembershipTableUpdateSteps::prepare ( ilDBInterface  $db)

Definition at line 27 of file ilStudyProgrammeAutoMembershipTableUpdateSteps.php.

References $db.

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

◆ step_1()

ilStudyProgrammeAutoMembershipTableUpdateSteps::step_1 ( )

Definition at line 32 of file ilStudyProgrammeAutoMembershipTableUpdateSteps.php.

32  : void
33  {
34  $this->db->addTableColumn(
35  self::TABLE_NAME,
36  'search_recursive',
37  [
38  'type' => 'integer',
39  'length' => 1,
40  'default' => 0,
41  'notnull' => true
42  ]
43  );
44  }

Field Documentation

◆ $db

ilDBInterface ilStudyProgrammeAutoMembershipTableUpdateSteps::$db
protected

Definition at line 25 of file ilStudyProgrammeAutoMembershipTableUpdateSteps.php.

Referenced by prepare().

◆ TABLE_NAME

const ilStudyProgrammeAutoMembershipTableUpdateSteps::TABLE_NAME = 'prg_auto_membership'

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