diff options
author | Dominik Eckelmann <deckelmann@gmail.com> | 2012-02-05 12:30:02 +0100 |
---|---|---|
committer | Dominik Eckelmann <deckelmann@gmail.com> | 2012-02-05 12:30:02 +0100 |
commit | 2d74814f032eb77d6ed604f6328edfc229446c3b (patch) | |
tree | 68130e2d71308fa6f5c50aa144c01686cb9c60ad /lib/plugins/remote.php | |
parent | 200ff6b799de7ba300488ec4cb4833c0092761e5 (diff) | |
download | rpg-2d74814f032eb77d6ed604f6328edfc229446c3b.tar.gz rpg-2d74814f032eb77d6ed604f6328edfc229446c3b.tar.bz2 |
added getapi methods to remote plugin
Diffstat (limited to 'lib/plugins/remote.php')
-rw-r--r-- | lib/plugins/remote.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/plugins/remote.php b/lib/plugins/remote.php index 42c2f53c8..a51f701fb 100644 --- a/lib/plugins/remote.php +++ b/lib/plugins/remote.php @@ -2,10 +2,20 @@ 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; + } + } |