blob: 47f954ee6034aa05d4b726a184ee9f9642e135e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
/**
* Class DokuWiki_Remote_Plugin
*/
abstract class DokuWiki_Remote_Plugin extends DokuWiki_Plugin {
private $api;
/**
* Constructor
*/
public function __construct() {
$this->api = new RemoteAPI();
}
/**
* Get all available methods with remote access.
*
* @abstract
* @return array Information about all provided methods. {@see RemoteAPI}.
*/
public abstract function _getMethods();
/**
* @return RemoteAPI
*/
protected function getApi() {
return $this->api;
}
}
|