Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
6ef4021d
Commit
6ef4021d
authored
Apr 17, 2017
by
Carsten Rose
Browse files
Constants.php: new constants for F_FORWARD_*
parent
17390052
Changes
3
Hide whitespace changes
Inline
Side-by-side
extension/qfq/api/save.php
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
;
...
...
extension/qfq/qfq/Constants.php
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'
;
...
...
extension/qfq/qfq/QuickFormQuery.php
View file @
6ef4021d
...
...
@@ -837,6 +837,8 @@ class QuickFormQuery {
* Save the current form.
*
* @return string
* @throws CodeException
* @throws UserFormException
*/
public
function
saveForm
()
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment