ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilDBStatement.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
27 interface ilDBStatement
28 {
33  public function fetchRow(int $fetch_mode);
34 
35 
39  public function fetch(int $fetch_mode = ilDBConstants::FETCHMODE_ASSOC);
40 
41 
42  public function rowCount(): int;
43 
44 
45  public function numRows(): int;
46 
47 
48  public function fetchObject(): ?stdClass;
49 
50 
51  public function fetchAssoc(): ?array;
52 
53 
54  public function execute(array $a_data = null): ilDBStatement;
55 }
fetch(int $fetch_mode=ilDBConstants::FETCHMODE_ASSOC)
execute(array $a_data=null)
fetchRow(int $fetch_mode)