Ferreteria/v0.6/clade/Sys/Data/Engine/Schema: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{page/clade/v2 |fam= {{!}} align=right {{!}} {{l/ver/clade|Aux|StandardBase}} {{!}} align=center {{!}} → {{l/ver/clade|Sys\Data\Engine|Schema}} {{!}} → {{l/ver/clade|Sys\Data\Engine\Schema|MyMar}} |alia= {{!}}- {{!}} '''Action'''* [c,i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\aux\msgs\Maria|ItWent}} {{!}}- {{!}} '''Base'''* [c,i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Aux|cStandardBase}} {{!}}- {{!}} '''FileIface'''* [i] {{!}}{{!}} {{l/v...") |
No edit summary |
||
| Line 8: | Line 8: | ||
{{!}} '''Action'''* [c,i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\aux\msgs\Maria|ItWent}} | {{!}} '''Action'''* [c,i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Sys\Data\Engine\aux\msgs\Maria|ItWent}} | ||
{{!}}- | {{!}}- | ||
{{!}} '''Base'''* [c,i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Aux| | {{!}} '''Base'''* [c,i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Aux|StandardBase}} | ||
{{!}}- | {{!}}- | ||
{{!}} '''FileIface'''* [i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Sys\FileSys\Node|Fi}} | {{!}} '''FileIface'''* [i] {{!}}{{!}} {{l/ver/clade/full|p=ferreteria|Sys\FileSys\Node|Fi}} | ||
}} | |||
==Code== | |||
''as of 2025-10-06'' | |||
{{fmt/php/block|1= | |||
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 -- // | |||
} | |||
}} | }} | ||
Revision as of 19:54, 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 -- //
}