Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
da6145d0
Commit
da6145d0
authored
Mar 03, 2017
by
Carsten Rose
Browse files
CODING.md: Update about form load.
parent
6479c9f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/CODING.md
View file @
da6145d0
...
...
@@ -30,17 +30,23 @@ LOAD
*
(Report)
*
Process all
<number>
.[
<number.>
].sql statements
*
Access
code
variables:
*
Access variables:
*
active/valid formname: [$this->store->setVar(SYSTEM_FORM, $formName, STORE_SYSTEM);]
*
SIP: [$this->store->getVar('form', STORE_SIP)]
*
All parameters from active SIP: [$this->store->getStore(STORE_SIP)]
*
Check Contstants.php for known Store members
:
*
Check Contstants.php for known Store
*
members
*
.
*
In QuickFormQuery.php the whole Form will be copied to
`$this->formSpec`
and depending on further processing, the
elements are available in
`$this->feNative`
and
`$this->feAction`
.
*
The Form specificaton (table form) will be evaluated direct after loading.
*
The FormElement specification will be evaluated later on in BuildForm
*
.php
elements are available in
`$this->feSpecNative`
and
`$this->feSpecAction`
.
*
The Form specificaton (table form) will be evaluated direct after loading (no
`dynamicUpdate`
).
*
The FormElement specification will be evaluated later in BuildForm
*
.php:
*
$formSpec, and root elements of $feSpecAction & $feSpecNative will be read in QuickFormQuery.php.
*
AbstractBuildForm.php/BuildFormBootstrap.php receives a copy during instantiating of that class.
*
Processing of FormElements in AbstractBuildForm.php/BuildFormBootstrap.php typically do not change values,
especially there is no evaluation, in $feSpecAction & $feSpecNative.
*
*Dynamic Update*
: remember, an update(=Form load) is a complete new rendering of the form in that moment. All
values/elements/notes/debug are fresh with the latest form content.
*
If a form is called without a SIP (form.permitNew='always'), than a SIP is created on the fly (as a
parameter in the form).
*
Uniq SIP for mutliple tabs with r=0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment