[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 357 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 1 time |
Includes or requires: | 0 files |
RemoteException:: (0 methods):
RemoteAccessDeniedException:: (0 methods):
RemoteAPI:: (20 methods):
__construct()
getMethods()
call()
coreMethodExist()
callCustomCallPlugin()
getCustomCallPlugins()
callPlugin()
callCoreMethod()
checkAccess()
checkArgumentLength()
getMethodName()
hasAccess()
forceAccess()
getPluginMethods()
getCoreMethods()
toFile()
toDate()
dummyTransformation()
setDateTransformation()
setFileTransformation()
Class: RemoteException - X-Ref
Class: RemoteAccessDeniedException - X-Ref
__construct() X-Ref |
constructor |
getMethods() X-Ref |
Get all available methods with remote access. return: array with information to all available methods |
call($method, $args = array() X-Ref |
Call a method via remote api. param: string $method name of the method to call. param: array $args arguments to pass to the given method return: mixed result of method call, must be a primitive type. |
coreMethodExist($name) X-Ref |
Check existance of core methods param: string $name name of the method return: bool if method exists |
callCustomCallPlugin($method, $args) X-Ref |
Try to call custom methods provided by plugins param: string $method name of method param: array $args return: mixed |
getCustomCallPlugins() X-Ref |
Returns plugin calls that are registered via RPC_CALL_ADD action triggers: RPC_CALL_ADD return: array with pairs of custom plugin calls |
callPlugin($pluginName, $method, $args) X-Ref |
Call a plugin method param: string $pluginName param: string $method method name param: array $args return: mixed return of custom method |
callCoreMethod($method, $args) X-Ref |
Call a core method param: string $method name of method param: array $args return: mixed |
checkAccess($methodMeta) X-Ref |
Check if access should be checked param: array $methodMeta data about the method |
checkArgumentLength($methodMeta, $args) X-Ref |
Check the number of parameters param: array $methodMeta data about the method param: array $args |
getMethodName($methodMeta, $method) X-Ref |
Determine the name of the real method param: array $methodMeta list of data of the methods param: string $method name of method return: string |
hasAccess() X-Ref |
Perform access check for current user return: bool true if the current user has access to remote api. |
forceAccess() X-Ref |
Requests access return: void |
getPluginMethods() X-Ref |
Collects all the methods of the enabled Remote Plugins return: array all plugin methods. |
getCoreMethods($apiCore = null) X-Ref |
Collects all the core methods param: RemoteAPICore $apiCore this parameter is used for testing. Here you can pass a non-default RemoteAPICore return: array all core methods. |
toFile($data) X-Ref |
Transform file to xml param: mixed $data return: mixed |
toDate($data) X-Ref |
Transform date to xml param: mixed $data return: mixed |
dummyTransformation($data) X-Ref |
A simple transformation param: mixed $data return: mixed |
setDateTransformation($dateTransformation) X-Ref |
Set the transformer function param: callback $dateTransformation |
setFileTransformation($fileTransformation) X-Ref |
Set the transformer function param: callback $fileTransformation |