ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.ilWOPIDB100.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 {
26  private ?ilDBInterface $db = null;
27 
28  public function prepare(ilDBInterface $db): void
29  {
30  $this->db = $db;
31  }
32 
33  public function step_1(): void
34  {
35  if (!$this->db->tableColumnExists('wopi_action', 'target_text')) {
36  $this->db->addTableColumn(
37  'wopi_action',
38  'target_text',
39  [
40  'type' => 'text',
41  'length' => 256,
42  'notnull' => false,
43  ],
44  );
45  }
46  }
47 
48 }
ilDBInterface $db
prepare(ilDBInterface $db)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...