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
6ef4021d
Commit
6ef4021d
authored
7 years ago
by
Carsten Rose
Browse files
Options
Downloads
Patches
Plain Diff
Constants.php: new constants for F_FORWARD_*
parent
17390052
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
extension/qfq/api/save.php
+1
-0
1 addition, 0 deletions
extension/qfq/api/save.php
extension/qfq/qfq/Constants.php
+7
-4
7 additions, 4 deletions
extension/qfq/qfq/Constants.php
extension/qfq/qfq/QuickFormQuery.php
+2
-0
2 additions, 0 deletions
extension/qfq/qfq/QuickFormQuery.php
with
10 additions
and
4 deletions
extension/qfq/api/save.php
+
1
−
0
View file @
6ef4021d
...
...
@@ -64,6 +64,7 @@ try {
$data
=
$qfq
->
saveForm
();
$answer
[
API_REDIRECT
]
=
$qfq
->
getForwardMode
(
$answer
[
API_REDIRECT_URL
]);
$answer
[
API_STATUS
]
=
API_ANSWER_STATUS_SUCCESS
;
$answer
[
API_MESSAGE
]
=
'save: success'
;
$answer
[
API_FORM_UPDATE
]
=
$data
;
...
...
This diff is collapsed.
Click to expand it.
extension/qfq/qfq/Constants.php
+
7
−
4
View file @
6ef4021d
...
...
@@ -34,10 +34,6 @@ const FORM_BUTTON_DELETE = 'delete';
const
FORM_BUTTON_CLOSE
=
'close'
;
const
FORM_BUTTON_SAVE
=
'save'
;
const
FORM_FORWARD_MODE_NO
=
'no'
;
const
FORM_FORWARD_MODE_AUTO
=
'auto'
;
const
FORM_FORWARD_MODE_PAGE
=
'page'
;
const
F_BS_COLUMNS
=
'bsColumns'
;
const
F_BS_LABEL_COLUMNS
=
'bsLabelColumns'
;
...
...
@@ -569,6 +565,13 @@ const F_CLASS_BODY = 'classBody';
const
F_SHOW_BUTTON
=
'showButton'
;
const
F_FORWARD_MODE
=
'forwardMode'
;
const
F_FORWARD_PAGE
=
'forwardPage'
;
const
F_FORWARD_MODE_CLIENT
=
'client'
;
const
F_FORWARD_MODE_NO
=
'no'
;
const
F_FORWARD_MODE_PAGE
=
'page'
;
const
F_FE_DATA_PATTERN_ERROR
=
'data-pattern-error'
;
const
F_FE_DATA_REQUIRED_ERROR
=
'data-required-error'
;
const
F_FE_DATA_MATCH_ERROR
=
'data-match-error'
;
...
...
This diff is collapsed.
Click to expand it.
extension/qfq/qfq/QuickFormQuery.php
+
2
−
0
View file @
6ef4021d
...
...
@@ -837,6 +837,8 @@ class QuickFormQuery {
* Save the current form.
*
* @return string
* @throws CodeException
* @throws UserFormException
*/
public
function
saveForm
()
{
...
...
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