summaryrefslogtreecommitdiff
path: root/lib/plugins/remote.php
blob: a51f701fbf87e7158cbe3246c5d74934dbeb9767 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
    }

}