Ferreteria/v0.6/clade/Sys/Data/Engine/Schema
Jump to navigation
Jump to search
| ||||||||||||||||||||
Code
as of 2025-10-06
interface iSchema extends BaseIface {
// DETAILS
function DbOper() : DbOperIface;
function SchemaName() : string;
// ACTION
function DoExport(string $fsData) : ActionIface;
function DoImport(FileIface $ofData, bool $okToReplace) : ActionIface;
// STATE
#function ActionStatus() : ActionIface;
}
abstract class caSchema extends BaseClass implements SelfIface {
// ++ SETUP ++ //
public function __construct(private DbOperIface $oDBO, private string $sSchema) {}
public function DbOper() : DbOperIface { return $this->oDBO; }
public function SchemaName() : string { return $this->sSchema; }
// -- SETUP -- //
}