mirror of
https://github.com/YunoHost-Apps/dokuwiki_ynh.git
synced 2024-09-03 18:26:20 +02:00
21 lines
397 B
PHP
21 lines
397 B
PHP
<?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;
|
|
}
|
|
|
|
}
|