summaryrefslogtreecommitdiff
path: root/lib/plugins/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/remote.php')
-rw-r--r--lib/plugins/remote.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/plugins/remote.php b/lib/plugins/remote.php
new file mode 100644
index 000000000..a51f701fb
--- /dev/null
+++ b/lib/plugins/remote.php
@@ -0,0 +1,21 @@
+<?php
+
+abstract class DokuWiki_Remote_Plugin extends DokuWiki_Plugin {
+
+ private $api;
+
+ public function __construct() {
+ $this->api = new RemoteAPI();
+ }
+
+ /**
+ * @abstract
+ * @return array Information to all provided methods. {@see RemoteAPI}.
+ */
+ public abstract function _getMethods();
+
+ protected function getApi() {
+ return $this->api;
+ }
+
+}