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 |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{page/clade/v2 | {{page/clade/v2 | ||
|fam= | |fam= | ||
{{!}} align=right {{!}} {{l/ver/clade|Aux|StandardBase}} | {{!}} align=right {{!}} <code>{{l/ver/clade|Aux|StandardBase}}</code> | ||
{{!}} align=center {{!}} & | {{!}} align=center {{!}} ⇒ <code>{{l/ver/clade|Sys\Data\Engine|Schema}}</code> ⇒ | ||
{{!}} | {{!}} align=left {{!}} <code>{{l/ver/clade|Sys\Data\Engine\schema\Ops|MyMar}}</code> | ||
|alia= | |alia= | ||
{{! | {{!-!}} '''Action'''* [c,i] {{!!}} <code>{{l/ver/clade/full|Sys\Data\Engine\aux\msgs\Maria|ItWent}}</code> | ||
{{!-!}} '''Base'''* [c,i] {{!!}} <code>{{l/ver/clade/full|Aux|StandardBase}}</code> | |||
{{! | {{!-!}} '''FileIface'''* [i] {{!!}} <code>{{l/ver/clade/full|Sys\FileSys\Node|Fi}}</code> | ||
{{!-!}} '''DbOper'''* [i] {{!!}} <code>{{l/ver/clade/full|Sys\Data\Engine|Ops}}</code> | |||
{{! | }} | ||
==Code== | |||
''as of {{fmt/date|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 -- // | |||
} | |||
}} | }} | ||
Latest revision as of 02:57, 2 December 2025
| ||||||||||||||||||||
Code
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 -- //
}