Searched refs:ApiCall (Results 1 – 10 of 10) sorted by relevance
/dokuwiki/_test/tests/Remote/Mock/ |
D | ApiCore.php | 6 use dokuwiki\Remote\ApiCall; alias 15 'wiki.stringTestMethod' => new ApiCall([$this, 'stringTestMethod']), 16 'wiki.intTestMethod' => new ApiCall([$this, 'intTestMethod']), 17 'wiki.floatTestMethod' => new ApiCall([$this, 'floatTestMethod']), 18 'wiki.dateTestMethod' => new ApiCall([$this, 'dateTestMethod']), 19 'wiki.fileTestMethod' => new ApiCall([$this, 'fileTestMethod']), 20 'wiki.voidTestMethod' => new ApiCall([$this, 'voidTestMethod']), 21 'wiki.oneStringArgMethod' => new ApiCall([$this, 'oneStringArgMethod']), 22 'wiki.twoArgMethod' => new ApiCall([$this, 'twoArgMethod']), 23 'wiki.twoArgWithDefaultArg' => new ApiCall([$this, 'twoArgWithDefaultArg']), [all …]
|
D | TestPlugin1.php | 6 use dokuwiki\Remote\ApiCall; alias 14 … $methods['method2ext'] = new ApiCall([$this, 'method2']); // add a method with a different name
|
/dokuwiki/inc/Remote/ |
D | LegacyApiCore.php | 26 'dokuwiki.getVersion' => new ApiCall([$this, 'legacyGetVersion'], 'legacy'), 27 'dokuwiki.login' => (new ApiCall([$this, 'legacyLogin'], 'legacy'))->setPublic(), 28 'dokuwiki.logoff' => new ApiCall([$this, 'legacyLogoff'], 'legacy'), 29 'dokuwiki.getPagelist' => new ApiCall([$this, 'legacyGetPagelist'], 'legacy'), 30 'dokuwiki.search' => new ApiCall([$this, 'legacySearch'], 'legacy'), 31 'dokuwiki.getTime' => new ApiCall([$this, 'legacyGetTime'], 'legacy'), 32 'dokuwiki.setLocks' => new ApiCall([$this, 'legacySetLocks'], 'legacy'), 33 … 'dokuwiki.getTitle' => (new ApiCall([$this, 'legacyGetTitle'], 'legacy'))->setPublic(), 34 'dokuwiki.appendPage' => new ApiCall([$this, 'legacyAppendPage'], 'legacy'), 35 'dokuwiki.createUser' => new ApiCall([$this, 'legacyCreateUser'], 'legacy'), [all …]
|
D | Api.php | 40 /** @var ApiCall[] core methods provided by dokuwiki */ 43 /** @var ApiCall[] remote methods provided by dokuwiki plugins */ 49 * @return ApiCall[] with information to all available methods 61 * @return ApiCall[] all core methods. 78 * @return ApiCall[] all plugin methods. 160 * @param ApiCall $method 164 public function ensureAccessIsAllowed(ApiCall $method)
|
D | ApiCore.php | 36 'core.getAPIVersion' => (new ApiCall([$this, 'getAPIVersion'], 'info'))->setPublic(), 38 'core.getWikiVersion' => new ApiCall('getVersion', 'info'), 39 'core.getWikiTitle' => (new ApiCall([$this, 'getWikiTitle'], 'info'))->setPublic(), 40 'core.getWikiTime' => (new ApiCall([$this, 'getWikiTime'], 'info')), 42 'core.login' => (new ApiCall([$this, 'login'], 'user'))->setPublic(), 43 'core.logoff' => new ApiCall([$this, 'logoff'], 'user'), 44 'core.whoAmI' => (new ApiCall([$this, 'whoAmI'], 'user')), 45 'core.aclCheck' => new ApiCall([$this, 'aclCheck'], 'user'), 47 'core.listPages' => new ApiCall([$this, 'listPages'], 'pages'), 48 'core.searchPages' => new ApiCall([$this, 'searchPages'], 'pages'), [all …]
|
D | ApiCall.php | 12 class ApiCall class
|
/dokuwiki/_test/tests/Remote/ |
D | ApiCallTest.php | 6 use dokuwiki\Remote\ApiCall; alias 34 $call = new ApiCall([$this, 'dummyMethod1'], 'cat1'); 56 $call = new ApiCall('inlineSVG'); 71 $call = new ApiCall([$this, 'dummyMethod1']); 104 $call = new ApiCall('date'); 111 $call = new ApiCall([$this, 'dummyMethod1']); 118 $call = new ApiCall([$this, 'dummyMethod1']);
|
D | ApiTest.php | 7 use dokuwiki\Remote\ApiCall; alias 131 $this->remote->ensureAccessIsAllowed(new ApiCall('time')); 141 $this->remote->ensureAccessIsAllowed(new ApiCall('time')); 150 $this->remote->ensureAccessIsAllowed(new ApiCall('time')); 162 $this->remote->ensureAccessIsAllowed(new ApiCall('time')); 175 $this->remote->ensureAccessIsAllowed(new ApiCall('time'));
|
/dokuwiki/inc/Extension/ |
D | RemotePlugin.php | 6 use dokuwiki\Remote\ApiCall; alias 33 * @return ApiCall[] Information about all provided methods. ('methodname' => ApiCall) 56 $result[$method_name] = new ApiCall([$this, $method_name], 'plugins');
|
/dokuwiki/inc/Remote/OpenApiDoc/ |
D | OpenAPIGenerator.php | 6 use dokuwiki\Remote\ApiCall; alias 164 * @param ApiCall $call The call definition 167 protected function getMethodDefinition(string $method, ApiCall $call)
|