xref: /dokuwiki/lib/plugins/remote.php (revision 9cf8b6e0e4b94473739d2b36a906a848b9410f7f)
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