Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
da6145d0
Commit
da6145d0
authored
8 years ago
by
Carsten Rose
Browse files
Options
Downloads
Patches
Plain Diff
CODING.md: Update about form load.
parent
6479c9f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/CODING.md
+12
-6
12 additions, 6 deletions
doc/CODING.md
with
12 additions
and
6 deletions
doc/CODING.md
+
12
−
6
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment