]> _ Git - fluidbook_tools.git/commitdiff
wip #5648 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 14 Dec 2022 19:23:54 +0000 (20:23 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 14 Dec 2022 19:23:54 +0000 (20:23 +0100)
src/Compiler/DummyCompiler.php [new file with mode: 0644]
src/Links/EventOverlayLink.php
src/Links/Link.php

diff --git a/src/Compiler/DummyCompiler.php b/src/Compiler/DummyCompiler.php
new file mode 100644 (file)
index 0000000..176749b
--- /dev/null
@@ -0,0 +1,76 @@
+<?php
+
+namespace Fluidbook\Tools\Compiler;
+
+use Cubist\Util\Files\VirtualDirectory;
+
+class DummyCompiler implements CompilerInterface {
+
+    public function addContentLock($page, $unlockConditions = '') {
+        // TODO: Implement addContentLock() method.
+    }
+
+    public function addTriggersLink($page, $link, $delay = 0) {
+        // TODO: Implement addTriggersLink() method.
+    }
+
+    public function addAudiodescription($link) {
+        // TODO: Implement addAudiodescription() method.
+    }
+
+    public function addBookmarkGroup($link) {
+        // TODO: Implement addBookmarkGroup() method.
+    }
+
+    public function getConfigZIP($d) {
+        // TODO: Implement getConfigZIP() method.
+    }
+
+    public function getSetting($key, $default = null) {
+        // TODO: Implement getSetting() method.
+    }
+
+    public function setSetting($key, $value) {
+        // TODO: Implement setSetting() method.
+    }
+
+    public function getVirtualDirectory(): VirtualDirectory {
+        // TODO: Implement getVirtualDirectory() method.
+    }
+
+    public function getWorkingDir(): string {
+        // TODO: Implement getWorkingDir() method.
+    }
+
+    public function setWorkingDir(string $wdir) {
+        // TODO: Implement setWorkingDir() method.
+    }
+
+    public function working_path($path = ''): string {
+        // TODO: Implement working_path() method.
+    }
+
+    public function source_path($path = ''): string {
+        // TODO: Implement source_path() method.
+    }
+
+    public function page_path($page, $path = ''): string {
+        // TODO: Implement page_path() method.
+    }
+
+    public function getWidth() {
+        // TODO: Implement getWidth() method.
+    }
+
+    public function getHeight() {
+        // TODO: Implement getHeight() method.
+    }
+
+    public function virtualToPhysical($virtual) {
+        // TODO: Implement virtualToPhysical() method.
+    }
+
+    public function getPagePDFSource($page): string {
+        // TODO: Implement getPagePDFSource() method.
+    }
+}
index 8529d7c40a9975dbe4e0e55ed9a5cf5cdeb12ea2..72bec042abe0bbfa89c8f7f8be70724c4374a077 100644 (file)
@@ -10,7 +10,6 @@ class EventOverlayLink extends Link
     {
         return parent::getHTMLContainerClass() . ' eventOverlayLink';
     }
-
     public function getHTMLContent()
     {
         return '<div></div>';
index b9a42ea60dd7225c763f09f4ba4384dd3b4960b3..81cd964451ac51381eb841fb844decad97435bd0 100644 (file)
@@ -198,7 +198,7 @@ class Link {
             default:
                 return null;
         }
-
+        return null;
 
     }