devel:remote_plugins
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
devel:remote_plugins [2013-07-30 12:19] – [How to write a remote plugin?] dominik | devel:remote_plugins [2013-11-15 13:01] – Klap-in | ||
---|---|---|---|
Line 25: | Line 25: | ||
<? | <? | ||
class remote_plugin_time extends DokuWiki_Remote_Plugin { | class remote_plugin_time extends DokuWiki_Remote_Plugin { | ||
- | function _getMethods() { | + | |
return array( | return array( | ||
' | ' | ||
Line 34: | Line 34: | ||
} | } | ||
- | function getTime() { | + | |
return $this-> | return $this-> | ||
} | } | ||
Line 55: | Line 55: | ||
Take a look at the '' | Take a look at the '' | ||
<code php> | <code php> | ||
- | function rawPage($id, | + | public |
$id = cleanID($id); | $id = cleanID($id); | ||
if(auth_quickaclcheck($id) < AUTH_READ){ | if(auth_quickaclcheck($id) < AUTH_READ){ | ||
Line 105: | Line 105: | ||
In some circumstances you need a full custom name for the remote call. | In some circumstances you need a full custom name for the remote call. | ||
The [[devel: | The [[devel: | ||
+ | |||
+ | ===== Further reading ===== | ||
+ | |||
+ | * [[Plugin programming tips]] | ||
+ | * [[plugins|Plugin Development]] | ||
+ | * DokuWikis [[custom_webservices|web services]] | ||
+ | * [[xmlrpc|XML-RPC]] | ||
+ | * [[plugintype> |
devel/remote_plugins.txt · Last modified: 2024-02-06 14:12 by andi