Ferreteria/v0.6/clade/Sys/Data/Engine/Schema: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
|alia= | |alia= | ||
{{!}}- | {{!}}- | ||
{{!}} '''Action'''* [c,i] {{! | {{!}} '''Action'''* [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\aux\msgs\Maria|ItWent}} | ||
{{!}}- | {{!}}- | ||
{{!}} '''Base'''* [c,i] {{! | {{!}} '''Base'''* [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Aux|StandardBase}} | ||
{{!}}- | {{!}}- | ||
{{!}} '''FileIface'''* [i] {{! | {{!}} '''FileIface'''* [i] {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\FileSys\Node|Fi}} | ||
{{!}}- | |||
{{!}} '''DbOper'''* [i] {{!!}} {{l/ver/clade|Sys\Data\Engine|Ops}} | |||
}} | }} | ||
==Code== | ==Code== | ||
Revision as of 23:37, 6 October 2025
| ||||||||||||||||||||
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 -- //
}