Lines Matching refs:methods
12 * == Types of methods ==
13 * There are two types of remote methods. The first is the core methods.
15 * The other is plugin methods. These are provided by remote plugins.
18 * The information about methods will be given in an array with the following structure:
32 * core methods begin by a 'dokuwiki' or 'wiki' followed by a . and the method name itself.
35 * plugin methods are formed like 'plugin.<plugin name>.<method name>'.
40 /** @var ApiCall[] core methods provided by dokuwiki */
43 /** @var ApiCall[] remote methods provided by dokuwiki plugins */
47 * Get all available methods with remote access.
49 * @return ApiCall[] with information to all available methods
57 * Collects all the core methods
61 * @return ApiCall[] all core methods.
76 * Collects all the methods of the enabled Remote Plugins
78 * @return ApiCall[] all plugin methods.
94 $methods = $plugin->getMethods();
97 "Remote Plugin $pluginName failed to return methods",
105 foreach ($methods as $method => $call) {
129 $methods = $this->getMethods();
130 if (!isset($methods[$method])) {
133 $this->ensureAccessIsAllowed($methods[$method]);
137 return $methods[$method]($args);
170 if ($method->isPublic()) return; // public methods are always allowed