init commit

This commit is contained in:
2025-02-23 20:52:25 +01:00
parent 5b272d6536
commit 9971cd719b
1719 changed files with 281982 additions and 2 deletions

View File

@ -0,0 +1,18 @@
<?php
namespace XFramework;
/**
* Roundcube Plus Framework plugin.
*
* Copyright 2016, Tecorama LLC.
*
* @license Commercial. See the LICENSE file for details.
*/
interface DatabaseInterface
{
public function getColumns(string $table, bool $addPrefix = true): array;
public function getTables(): array;
public function hasTable(string $table): bool;
public function removeOld(string $table, string $dateField = "created_at", int $seconds = 3600, bool $addPrefix = true): bool;
}