1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00
dokuwiki_ynh/sources/lib/plugins/remote.php

32 lines
576 B
PHP

<?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;
}
}