]> _ Git - cubeextranet.git/commitdiff
wip #4185 @0:20
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 12 Jan 2021 17:12:16 +0000 (17:12 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 12 Jan 2021 17:12:16 +0000 (17:12 +0000)
inc/ws/Controlleur/class.ws.maintenance.php

index 82ff69a927991c5793b7753d72bc260236b874aa..0f4b60492dbe808484abae4ac6e1ce156b7f90c8 100644 (file)
@@ -1125,6 +1125,20 @@ class wsMaintenance
         exit;
     }
 
+    public static function installSimonePerele()
+    {
+        global $core;
+        CubeIT_Util_PHP::neverStop();
+        $ids = cubeArray::parseRange('19281;19312-19320');
+        $dao = new wsDAOBook($core->con);
+        foreach ($ids as $id) {
+            $book = $dao->selectById($id);
+            $title = $book->parametres->title;
+            $exporter = new wsExporter();
+            $exporter->export($id, $x, 'install_hosting', 'online', CubeIT_Text::str2URL($title));
+        }
+    }
+
     public static function installPetzl()
     {
         CubeIT_Util_PHP::neverStop();