From 406d1873b39d02b42549218d7caf716fee97d363 Mon Sep 17 00:00:00 2001
From: Carsten  Rose <carsten.rose@math.uzh.ch>
Date: Sun, 26 Mar 2017 23:47:43 +0200
Subject: [PATCH] Save.php: added some doc.

---
 extension/qfq/qfq/Save.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extension/qfq/qfq/Save.php b/extension/qfq/qfq/Save.php
index 434bd97fb..3cfee989e 100644
--- a/extension/qfq/qfq/Save.php
+++ b/extension/qfq/qfq/Save.php
@@ -72,6 +72,8 @@ class Save {
     }
 
     /**
+     * Create empty FormElements based on templateGroups, for those who not already exist.
+     *
      * @param array $formValues
      * @return array
      */
@@ -88,6 +90,8 @@ class Save {
     }
 
     /**
+     * Build an array of all values which should be saved. Values must exist as a 'form value' as well as a regular 'table column'.
+     *
      * @param $recordId
      * @return int   record id (in case of insert, it's different from $recordId)
      * @throws CodeException
-- 
GitLab