Skip to content

Commit

Permalink
added getapi methods to remote plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dom-mel committed Feb 5, 2012
1 parent 200ff6b commit 2d74814
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/plugins/remote.php
Expand Up @@ -2,10 +2,20 @@

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

}

0 comments on commit 2d74814

Please sign in to comment.