ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ilLoggingUpdateSteps8 Class Reference

Class ilLoggingUpdateSteps8 contains update steps for release 8. More...

+ Inheritance diagram for ilLoggingUpdateSteps8:
+ Collaboration diagram for ilLoggingUpdateSteps8:

Public Member Functions

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

Protected Attributes

ilDBInterface $db
 

Detailed Description

Class ilLoggingUpdateSteps8 contains update steps for release 8.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.d.nosp@m.e

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

Member Function Documentation

◆ prepare()

ilLoggingUpdateSteps8::prepare ( ilDBInterface  $db)

Definition at line 29 of file class.ilLoggingUpdateSteps8.php.

References $db.

29  : void
30  {
31  $this->db = $db;
32  }

◆ step_1()

ilLoggingUpdateSteps8::step_1 ( )

Add consent table.

Definition at line 37 of file class.ilLoggingUpdateSteps8.php.

References ilDBConstants\T_TEXT.

37  : void
38  {
39  $query = 'DELETE from log_components ' .
40  'WHERE component_id = ' . $this->db->quote('lchk', ilDBConstants::T_TEXT);
41  $this->db->manipulate($query);
42  }

Field Documentation

◆ $db

ilDBInterface ilLoggingUpdateSteps8::$db
protected

Definition at line 27 of file class.ilLoggingUpdateSteps8.php.

Referenced by prepare().


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