Ferreteria/v0.6/clade/Sys/FileSys/Node/Fo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{page/clade}} {| style="border: 1px solid black; float: right;" ! colspan=3 | Clade Family |- | align=right | {{l/ver/clade|Sys\FileSys|Node}} | → {{l/ver/clade|Sys\FileSys\Node|Fo}} | → [WFu]{{l/ver/clade|p=Futilities|Sys\dba\files|DataFolder}} |- | align=right | '''Related''': || {{l/same|Fi}} |}") |
No edit summary |
||
| Line 9: | Line 9: | ||
| align=right | '''Related''': || {{l/same|Fi}} | | align=right | '''Related''': || {{l/same|Fi}} | ||
|} | |} | ||
==Code== | |||
''as of 2025-08-10'' | |||
{{fmt/php/block|1= | |||
interface iFo extends BaseIface {} | |||
class cFo extends BaseClass implements iFo { | |||
// ++ CONFIG ++ // | |||
protected function IdentClass() : string { return IdentClass::class; } | |||
protected function InOutClass() : string { return InOutClass::class; } | |||
// -- CONFIG -- // | |||
// ++ SETUP ++ // | |||
// OVERRIDE: Assume $fs is (or will be) a folder, and this has been invoked via the class we want. | |||
static public function FromSpec(string $fs) : BaseIface { | |||
$oThis = new static; | |||
$oThis->Ident()->QSFullSpec()->SetIt($fs); | |||
return $oThis; | |||
} | |||
// -- SETUP -- // | |||
} | |||
}} | |||
Latest revision as of 13:25, 10 August 2025
| Clade Family | ||
|---|---|---|
| Node | → Fo | → [WFu]DataFolder |
| Related: | Fi | |
Code
as of 2025-08-10
interface iFo extends BaseIface {}
class cFo extends BaseClass implements iFo {
// ++ CONFIG ++ //
protected function IdentClass() : string { return IdentClass::class; }
protected function InOutClass() : string { return InOutClass::class; }
// -- CONFIG -- //
// ++ SETUP ++ //
// OVERRIDE: Assume $fs is (or will be) a folder, and this has been invoked via the class we want.
static public function FromSpec(string $fs) : BaseIface {
$oThis = new static;
$oThis->Ident()->QSFullSpec()->SetIt($fs);
return $oThis;
}
// -- SETUP -- //
}