[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Extension/ -> RemotePlugin.php (summary)

Remote Plugin prototype Add functionality to the remote API in a plugin

File Size: 122 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __construct()
  _getMethods()
  cleanTypeHint()
  getApi()

Functions
Functions that are not part of a class:

__construct()   X-Ref
Constructor


_getMethods()   X-Ref
Get all available methods with remote access.

By default it exports all public methods of a remote plugin. Methods beginning
with an underscore are skipped.

return: array Information about all provided methods. {@see dokuwiki\Remote\RemoteAPI}.

cleanTypeHint($hint)   X-Ref
Matches the given type hint against the valid options for the remote API

param: string $hint
return: string

getApi()   X-Ref

return: Api