Rev 326 | Rev 360 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 326 | Rev 348 | ||
---|---|---|---|
Line 20... | Line 20... | ||
20 | abstract class OIDplusDatabaseConnection { |
20 | abstract class OIDplusDatabaseConnection { |
21 | protected /*bool*/ $connected = false; |
21 | protected /*bool*/ $connected = false; |
22 | protected /*?bool*/ $html = null; |
22 | protected /*?bool*/ $html = null; |
23 | protected /*?string*/ $last_query = null; |
23 | protected /*?string*/ $last_query = null; |
24 | 24 | ||
- | 25 | public abstract static function getPlugin(): OIDplusDatabasePlugin; |
|
25 | protected abstract function doQuery(string $sql, /*?array*/ $prepared_args=null): OIDplusQueryResult; |
26 | protected abstract function doQuery(string $sql, /*?array*/ $prepared_args=null): OIDplusQueryResult; |
26 | public abstract function error(): string; |
27 | public abstract function error(): string; |
27 | public abstract function transaction_begin()/*: void*/; |
28 | public abstract function transaction_begin()/*: void*/; |
28 | public abstract function transaction_commit()/*: void*/; |
29 | public abstract function transaction_commit()/*: void*/; |
29 | public abstract function transaction_rollback()/*: void*/; |
30 | public abstract function transaction_rollback()/*: void*/; |