Ferreteria/v0.6/fx/DoExport: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
! clade || form || use || notes | ! clade || form || use || notes | ||
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine|Schema}}</code> || require | {{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine|Schema}}</code> || require | ||
{{!-!}} B || <code>{{l/ver/clade/full|Sys\Data\Engine\Oper|MyMar}}</code> || implement | {{!-!}} B || <code>{{l/ver/clade/full|Sys\Data\Engine\Oper|MyMar}}</code> || {{l/ver/clade/fx|Sys\Data\Engine\Oper|MyMar|DoExport|implement}} | ||
{{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\ | {{!-!}} A || <code>{{l/ver/clade/full|Sys\Data\Engine\schema\Ops|MyMar}}</code> || {{l/ver/clade/fx|Sys\Data\Engine\schema\Ops|MyMar|DoExport|implement}}, call | ||
{{!-!}} B || <code>{{l/ver/clade/full|Sys\Data\Engine\aux\ActionRq\Admin\schema|EngScExport}}</code> || call | | <code>$oAct = {{l/sub/fx|DbOper|$oOper}}->DoExport($sSchema,{{l/ver/clade|IO\Aspect\Connx\Buffer\File|Writer|$oExecBuff}});</code> | ||
{{!-!}} B || <code>{{l/ver/clade/full|Sys\Data\Engine\aux\ActionRq\Admin\schema|EngScExport}}</code> || call | |||
| <code>$this->{{l/ver/fx|QOSchema}}()->{{l/ver/fx|GetIt}}()->{{l/ver/fx|DoExport}}($this->{{l/ver/fx|DataFileNode}}(),$this->{{l/ver/fx|OkToReplace}}())</code> | |||
|} | |} | ||
See also {{l/ver/fx/proj|Futilities}}. | See also {{l/ver/fx/proj|Futilities}}. | ||
Latest revision as of 01:33, 3 December 2025
About
- Mirror:
DoImport() - Definitions:
- A:
public function DoExport(FileIface $ofData) : ActionIface- Implemented by Schema classes
- B:
public function DoExport(string $sSchema, RecvBuffClass $oInBuff) : CommOpIface- Implemented by DB Oper classes, which currently get a list of all available Schemas and then dispatch to each Schema object's DoExport() (form A). (Future: should also be able to export a single Schema by name.)
- A:
Usage
| clade | form | use | notes |
|---|---|---|---|
| A | Sys\Data\Engine\Schema |
require | |
| B | Sys\Data\Engine\Oper\MyMar |
implement | |
| A | Sys\Data\Engine\schema\Ops\MyMar |
implement, call | $oAct = $oOper->DoExport($sSchema,$oExecBuff);
|
| B | Sys\Data\Engine\aux\ActionRq\Admin\schema\EngScExport |
call | $this->QOSchema()->GetIt()->DoExport($this->DataFileNode(),$this->OkToReplace())
|
See also Futilities.