Commit 6ef4021d authored by Carsten  Rose's avatar Carsten Rose
Browse files

Constants.php: new constants for F_FORWARD_*

parent 17390052
......@@ -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;
......
......@@ -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';
......
......@@ -837,6 +837,8 @@ class QuickFormQuery {
* Save the current form.
*
* @return string
* @throws CodeException
* @throws UserFormException
*/
public function saveForm() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment