Ferreteria/v0.6/fx/FromParams: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
(Created page with "{{page/fx}} ==About== This function is a named constructor for creating an object with specific parameters. It is currently only implemented in {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin|ToSchema}}, where it accepts these parameters: * {{l/ver/clade|Sys\Data\Engine|Schema|SchemaIface}} $o * {{l/ver/clade|Sys\FileSys\Node|Fi|DataNodeIface}} $of * ?bool $doReplace=FALSE") |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{page/fx}} | {{page/fx}} | ||
==About== | ==About== | ||
This function is a named constructor for creating an object with specific parameters. | This function is a named constructor for creating an object with specific parameters. | ||
* {{l/ver/clade|Sys\Data\Engine|Schema|SchemaIface}} $o | |||
* {{l/ver/clade|Sys\FileSys\Node|Fi|DataNodeIface}} $of | As of 2025-10-07, it looks like the only call to this (in {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin\ToDbOper|EngDbExport}}) is incorrect and therefore errors out. Trying to figure out what function is ''supposed'' to be called, and maybe [re]move this function. See [[2025/10/08]]. | ||
* ?bool $doReplace=FALSE | ==Defined== | ||
* {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin|ToSchema}}::{{l/ver/fx|FromParams}}( | |||
*: {{l/ver/clade|Sys\Data\Engine|Schema|SchemaIface}} $o, | |||
*: {{l/ver/clade|Sys\FileSys\Node|Fi|DataNodeIface}} $of, | |||
*: {{fmt/php/inline|1=?bool $doReplace=FALSE}} | |||
*: ); | |||
Latest revision as of 13:38, 8 October 2025
|
fx:
FromParams() |
About
This function is a named constructor for creating an object with specific parameters.
As of 2025-10-07, it looks like the only call to this (in EngDbExport) is incorrect and therefore errors out. Trying to figure out what function is supposed to be called, and maybe [re]move this function. See 2025/10/08.
Defined
- ToSchema::FromParams(
- SchemaIface $o,
- DataNodeIface $of,
?bool $doReplace=FALSE- );