Ferreteria/v0.6/clade/Sys/Data/Engine/Schema: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision 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== | ==Code== | ||
''as of 2025 | ''as of {{fmt/date|2025|10|06}}:'' | ||
{{fmt/php/block|1= | {{fmt/php/block|1= | ||
interface iSchema extends BaseIface { | interface iSchema extends BaseIface { | ||
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 -- //
}