Ferreteria/v0.6/clade/Sys/Events/InputRq/Setting: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | clade‎ | Sys‎ | Events‎ | InputRq
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{page/clade}}
{{page/clade/v2
{| style="border: solid 1px black; float: right;"
|fam=
! colspan=3 | Clade Family
{{!}} align=right {{!}} {{l/ver/clade|Sys/Events|InputRq}}
|-
{{!}} align=center {{!}} &rArr; {{l/ver/clade|Sys\Events\InputRq|Setting}} &rArr;
| align=right | {{l/ver/clade|Sys/Events|InputRq}}
{{!}} align=left  {{!}} [WFu]{{l/ver/clade/base|p=futilities|InSet}}
| &rarr; {{l/ver/clade|Sys\Events\InputRq|Setting}}
 
| &rarr; [WFu]{{l/ver/clade/base|InSet}}
|alia=
|}
{{!-!}} '''Base'''*  [ca,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Events|InputRq}}
{{!-!}} '''InData'''* [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Events\InputRq\aux|InRqData}}
{{!-!}} '''ItemIface'''    {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Events|InputItem}}
{{!-!}} '''SelfIface'''    {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Events\InputRq|Setting}}
 
}}
==About==
==About==
* '''in repo''': [https://gitlab.com/woozalia/ferreteria/-/blob/v0.6-dev/src/Sys/Events/InputRq/Setting.md doc][https://gitlab.com/woozalia/ferreteria/-/blob/v0.6-dev/src/Sys/Events/InputRq/Setting.php code]
* '''in repo''': [https://gitlab.com/woozalia/ferreteria/-/blob/v0.6-dev/src/Sys/Events/InputRq/Setting.php code]
A {{l/ver/clade|Sys\Events\InputRq|Setting}} is an {{l/ver/clade|Sys/Events|InputRq}} whose primary (or only) purpose is to change the value of a setting used by any other {{l/ver/clade|Sys/Events|InputRq}}s that might need it. The value is saved under the Setting's assigned name (NameOfInput()).
A {{l/ver/clade|Sys\Events\InputRq|Setting}} is an {{l/ver/clade|Sys/Events|InputRq}} whose primary (or only) purpose is to change the value of a setting used by any other {{l/ver/clade|Sys/Events|InputRq}}s that might need it. The value is saved under the Setting's assigned name (NameOfInput()).
==Functions==
==Functions==

Revision as of 15:23, 16 November 2025

clade: Sys\Events\InputRq\Setting
Clade Family
InputRq Setting [WFu]InSet
Clade Aliases
Alias Clade
Base* [ca,i] Sys\Events\InputRq
InData* [c,i] Sys\Events\InputRq\aux\InRqData
ItemIface Sys\Events\InputItem
SelfIface Sys\Events\InputRq\Setting
Subpages

About

A Setting is an InputRq whose primary (or only) purpose is to change the value of a setting used by any other InputRqs that might need it. The value is saved under the Setting's assigned name (NameOfInput()).

Functions

public

  • function Describe() : string (override)
  • function Go() (override)
  • function NameOfInput() : string

internal

  • function ParseInputString(string $s) : void
    • $s = first value given to the subcommand (e.g. for "cmd:stuff:things", $s will be "stuff")
    • Additional parts (e.g. "things") get sent to ParseInputArgs().
  • function ParseInputArgs(array $arArgs) {} : no code
    • $arArgs = number-based array of additional values (if any) (e.g. for "cmd:stuff:things:more", $arArgs will be [0]=>"things", [1]=>"more)
    • By default, these aren't retained since their meaning is action-dependent. Podlings can override this.