From: vincent@cubedesigners.com Date: Fri, 23 Jul 2021 16:20:26 +0000 (+0000) Subject: wip #4619 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e13067ebc801af958d78adaa62f56338670e6af5;p=cubeextranet.git wip #4619 @0.5 --- diff --git a/inc/commons/class.common.core.php b/inc/commons/class.common.core.php index 503cf4e8f..2c666fd00 100644 --- a/inc/commons/class.common.core.php +++ b/inc/commons/class.common.core.php @@ -527,6 +527,16 @@ class commonCore extends cubeCore $db->gpu_log->date('integer', 0, false); $db->gpu_log->primary('pk_gpu_log', 'gpu', 'rgpu', 'date'); + $db->ysl_survey->fluidbook_id('integer', 0, false); + $db->ysl_survey->page('integer', 0, false); + $db->ysl_survey->date('integer', 0, false); + $db->ysl_survey->rating('integer', 0, false); + $db->ysl_survey->rating('integer', 0, false); + $db->ysl_survey->suggestions('text', 0, false); + $db->ysl_survey->country('varchar', 2, false); + $db->ysl_survey->function('varchar', 256, false); + $db->ysl_survey->primary('pk_ysl_survey', 'date'); + try { $dbi = new CubeDbStruct($this->con); $dbi->synchronize($db); @@ -681,7 +691,7 @@ LEFT JOIN e2_u a ON ri.administrateur_id=a.utilisateur_id'); . 'FROM themes t ' . 'LEFT JOIN themes_books_nb b ON t.theme_id=b.theme ' . 'LEFT JOIN utilisateurs_entreprise e ON t.proprietaire=e.utilisateur_id'); - $this->views->createView('ws3_themes_vue','SELECT t.*, b.nb as nbBooks, CONCAT(e.prenom,\' \',e.nom,\' (\',e.rs,\')\') AS proprietaire_nom ' + $this->views->createView('ws3_themes_vue', 'SELECT t.*, b.nb as nbBooks, CONCAT(e.prenom,\' \',e.nom,\' (\',e.rs,\')\') AS proprietaire_nom ' . 'FROM ws3_themes t ' . 'LEFT JOIN themes_books_nb b ON t.theme_id=b.theme ' . 'LEFT JOIN utilisateurs_entreprise e ON t.proprietaire=e.utilisateur_id'); diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index 6ef003a92..7af18246a 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -1376,6 +1376,10 @@ class wsServices extends cubeFlashGateway exit; } + public static function yslSurvey(){ + + } + public static function searchGFXDevice($gpu, $raw, $gfxVersion = 40) { // First intention direct request