Rev 1086 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1086 | Rev 1116 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | \defined('INSIDE_OIDPLUS') or die; |
23 | \defined('INSIDE_OIDPLUS') or die; |
24 | // phpcs:enable PSR1.Files.SideEffects |
24 | // phpcs:enable PSR1.Files.SideEffects |
25 | 25 | ||
26 | abstract class OIDplusDatabasePlugin extends OIDplusPlugin { |
26 | abstract class OIDplusDatabasePlugin extends OIDplusPlugin { |
27 | 27 | ||
- | 28 | /** |
|
- | 29 | * @return string |
|
- | 30 | */ |
|
28 | public abstract static function id(): string; // this is the name that is set to the configuration value OIDplus::baseConfig()->getValue('DATABASE_PLUGIN') to identify the database plugin |
31 | public abstract static function id(): string; // this is the name that is set to the configuration value OIDplus::baseConfig()->getValue('DATABASE_PLUGIN') to identify the database plugin |
29 | 32 | ||
- | 33 | /** |
|
- | 34 | * @return OIDplusDatabaseConnection |
|
- | 35 | */ |
|
30 | public abstract static function newConnection(): OIDplusDatabaseConnection; |
36 | public abstract static function newConnection(): OIDplusDatabaseConnection; |
31 | 37 | ||
- | 38 | /** |
|
- | 39 | * @return string |
|
- | 40 | */ |
|
32 | public abstract static function setupHTML(): string; |
41 | public abstract static function setupHTML(): string; |
33 | 42 | ||
34 | } |
43 | } |