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 21: Line 21:
==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->OAThisInput()}} returns the values for ''just the current request term'' (used in e.g. Describe()) (THAT WAS THE THEORY, NOT SURE THIS IS CORRECT)
** {{fmt/php/inline|$this->OAUserInput()}} returns the raw values (split but not parsed) for each term in the user input
** {{fmt/php/inline|static::OAKeptInput()}} returns the ''latest'' set values across all terms (used for doing actions)

Revision as of 21:30, 8 August 2025

clade: Sys\dba\InReq
Clade Family

DbStuff
[WFe]Settable

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 the OA{..}Input() functions.

Doing Stuff

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