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 14: Line 14:
===internal===
===internal===
* {{fmt/php/inline|function ParseInputString(string $s) : void}}
* {{fmt/php/inline|function ParseInputString(string $s) : void}}
** <code>$s</code> = 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().
* {{fmt/php/inline|function ParseInputArgs(array $arArgs) {}}} : no code
* {{fmt/php/inline|function ParseInputArgs(array $arArgs) {}}} : no code
** By default, these aren't retained since their meaning is action-dependent. Podlings can override this.

Revision as of 00:58, 4 August 2025

clade: Sys\Events\InputRq\Setting
Clade Family
InputRq Settable → [WFu]InReq

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
    • By default, these aren't retained since their meaning is action-dependent. Podlings can override this.