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 1: Line 1:
{{page/clade}}
{{page/clade}}
{| style="border: 1px solid black; float: right;"
{| style="border: 1px solid black; float: right;"
! colspan=3 | Clade Relations
! colspan=3 | Clade Family
|-
|-
| align=right |
| align=right |
Line 8: Line 8:
| &rarr; '''InReq'''
| &rarr; '''InReq'''
|  
|  
&rarr; {{l/ver/clade|Sys\Events\InputRq|DoExport}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|DoExport}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|DoImport}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|DoImport}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|DoList}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|DoList}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|DoSetup}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|DoSetup}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|DoTest}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|DoTest}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|SetFile}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|SetFile}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|SetFolder}}<br>
&rarr; {{l/ver/clade|Sys\dba\InReq|SetFolder}}<br>
&rarr; {{l/ver/clade|Sys\Events\InputRq|Value}}
&rarr; {{l/ver/clade|Sys\dba\InReq|Value}}
|}
|}
==Purpose==
==Purpose==
Each object encapsulates a given input (request) term (its name, type, and value(s) if any).
This is supposed to do one of the following, and I think I got muddled between them; fixing that...:
* Each object encapsulates a given input (request) term (its name, type, and value(s) if any).
* Each object encapsulates all of the inputs from the user (on the command-line, URI, or whatever).
==Doing Stuff==
==Doing Stuff==
* To access input arguments, get an appropriate {{l/ver/clade|Sys\dba|InRqData|pfx=c}} object:
* To access input arguments, get an appropriate {{l/ver/clade|Sys\dba|InRqData|pfx=c}} 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->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|static::OAKeptInput()}} returns the ''latest'' set values across all terms (used for doing actions)
** {{fmt/php/inline|static::OAKeptInput()}} returns the ''latest'' set values across all terms (used for doing actions)

Revision as of 13:23, 2 August 2025

clade: Sys\dba\InReq
Clade Family

DbStuff
[WFe]Settable

InReq

DoExport
DoImport
DoList
DoSetup
DoTest
SetFile
SetFolder
Value

Purpose

This is supposed to do one of the following, and I think I got muddled between them; fixing that...:

  • Each object encapsulates a given input (request) term (its name, type, and value(s) if any).
  • Each object encapsulates all of the inputs from the user (on the command-line, URI, or whatever).

Doing Stuff

  • To access input arguments, get an appropriate cInRqData object:
    • $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)
    • static::OAKeptInput() returns the latest set values across all terms (used for doing actions)