ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps Class Reference
+ Inheritance diagram for ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps:
+ Collaboration diagram for ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps:

Public Member Functions

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

Protected Attributes

ilDBInterface $db
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 24 of file class.ilWiki8HotfixDBUpdateSteps.php.

Member Function Documentation

◆ prepare()

ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps::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 28 of file class.ilWiki8HotfixDBUpdateSteps.php.

References ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps\$db.

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

◆ step_1()

ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps::step_1 ( )

Definition at line 33 of file class.ilWiki8HotfixDBUpdateSteps.php.

References ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps\$db, and ilDBInterface\manipulateF().

33  : void
34  {
35  $db = $this->db;
36  $db->manipulateF("DELETE FROM notification WHERE " .
37  " user_id = %s",
38  ["integer"],
39  [13]
40  );
41  }
manipulateF(string $query, array $types, array $values)
+ Here is the call graph for this function:

Field Documentation

◆ $db

ilDBInterface ILIAS\Wiki\Setup\ilWiki8HotfixDBUpdateSteps::$db
protected

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