Lines Matching +full:version -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
12 /** @var float The XML-RPC Version. 0 is our own simplified variant */
13 protected $version = 0; variable in dokuwiki\\Remote\\JsonRpcServer
74 * This should handle all JSON-RPC versions and our simplified version
88 // this is a standard conform request (at least version 1.0)
91 $this->version = 1;
96 // version 2.0 request
99 $this->version = (float)$data['jsonrpc'];
102 // version 1.1 request
103 if (isset($data['version'])) {
104 $return['version'] = $data['version'];
105 $this->version = (float)$data['version'];
112 $this->version = 0;
135 * Depending on the requested version, add error data to the response
150 // no error, act according to version
151 if ($this->version > 0 && $this->version < 2) {
152 // version 1.* wants null
154 } elseif ($this->version < 1) {
155 // simplified version wants success
161 // version 2 wants no error at all