xref: /dokuwiki/lib/plugins/remote.php (revision 14704953412e3710917a7595b4d1e9e6d0f6e7fe)
1<?php
2
3abstract class DokuWiki_Remote_Plugin extends DokuWiki_Plugin {
4
5    private  $api;
6
7    public function __construct() {
8        $this->api = new RemoteAPI();
9    }
10
11    /**
12     * @abstract
13     * @return array Information to all provided methods. {@see RemoteAPI}.
14     */
15    public abstract function _getMethods();
16
17    protected function getApi() {
18        return $this->api;
19    }
20
21}
22