Futilities/v0.6/clade/Sys/dba/InReq: Difference between revisions

From Woozle Writes Code
< Futilities‎ | v0.6‎ | clade‎ | Sys‎ | dba
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
|}
|}
==Purpose==
==Purpose==
Each object encapsulates a given input (request) term. Podling-clades will implement actions and provide functions to access needed values from the input, which is encapsulated by a c{{l/ver/clade|Sys\dba|InRqData}} object which can be retrieved from the <code>OAUserInput()</code> function.
Each object encapsulates a given input (request) term. Podling-clades will implement actions and provide functions to access needed values from the input, which is encapsulated by a c{{l/ver/clade|Sys\dba|InRqData}} object which can be retrieved from {{fmt/php/inline|function OAUserInput()}}.
 
To make use of additional user arguments (after the first), {{l/ver/clade|p=Ferreteria|Sys\Events|InputRq}} podlings (aka {{l/ver/clade/base|InReq}} podlings) can implement {{fmt/php/inline|function ParseInputArgs(array $ar)}}.
==Doing Stuff==
==Doing Stuff==
* To access input arguments, get an appropriate c{{l/ver/clade|Sys\dba|InRqData}} object:
* To access input arguments, get an appropriate c{{l/ver/clade|Sys\dba|InRqData}} object:
** {{fmt/php/inline|$this->OAUserInput()}} returns the raw input value strings (split but not parsed), one element for each term in the user input
** {{fmt/php/inline|$this->OAUserInput()}} returns the raw input value strings (split but not parsed), one element for each term in the user input

Revision as of 02:04, 14 September 2025

clade: Sys\dba\InReq
Clade Family

[WFe]DbOper
(base)InReq

InReq

DoExport
DoImport
DoList
DoSetup
DoTest
SetFile
SetFolder
Value

Purpose

Each object encapsulates a given input (request) term. Podling-clades will implement actions and provide functions to access needed values from the input, which is encapsulated by a cInRqData object which can be retrieved from function OAUserInput().

To make use of additional user arguments (after the first), InputRq podlings (aka InReq podlings) can implement function ParseInputArgs(array $ar).

Doing Stuff

  • To access input arguments, get an appropriate cInRqData object:
    • $this->OAUserInput() returns the raw input value strings (split but not parsed), one element for each term in the user input