]> _ Git - cubeextranet.git/commitdiff
wip #4619 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 26 Jul 2021 09:01:42 +0000 (09:01 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Mon, 26 Jul 2021 09:01:42 +0000 (09:01 +0000)
inc/ws/Controlleur/class.ws.services.php

index 7af18246ad160e1a34f241c7100db500e7ef0a63..32eeb29a31331744b219c2fe1f42a3ff6ea065e1 100644 (file)
@@ -1376,8 +1376,18 @@ class wsServices extends cubeFlashGateway
         exit;
     }
 
-    public static function yslSurvey(){
-
+    public static function yslSurvey()
+    {
+        global $core;
+        $c = $core->con->openCursor('ysl_survey');
+        $c->fluidbook_id = $_POST['fluidbook_id'];
+        $c->date = time();
+        $c->page = $_POST['page'];
+        $c->rating = $_POST['rating'];
+        $c->suggestions = $_POST['suggestions'];
+        $c->country = $_POST['country'];
+        $c->function = $_POST['function'];
+        $c->insert();
     }
 
     public static function searchGFXDevice($gpu, $raw, $gfxVersion = 40)