Lines Matching +full:continue +full:- +full:on +full:- +full:error
17 …public function connectTo($mode) { $this->Lexer->addEntryPattern('<idoitAPI>(?=.*?</idoitAPI>)','b…
18 public function postConnect() { $this->Lexer->addExitPattern('</idoitAPI>','plugin_idoit'); }
25 'date' => '2014-11-19',
26 'name' => 'i-doit API client plugin',
27 'desc' => 'Call i-doit API with JSON requests directly from DokuWiki',
28 'url' => 'https://github.com/oliverguenther/dokuwiki-idoit-syntax'
51 // continue with next filter
53 continue 2;
64 * Execute the request on the JSON RPC apai
72 $this->getConf('api_endpoint'),
73 $this->getConf('api_key'),
74 $this->getConf('api_user'),
75 $this->getConf('api_pass')
79 $response = $apiRequest->send();
82 return $this->filterResults($request, $response);
90 return "API error: " . $e->getMessage();
98 * Returns a string error for JSON decode errors.
106 return $this->callAPI($json);
108 return 'JSON decode error: Maximum stack depth exceeded';
110 return 'JSON decode error: Underflow or the modes mismatch';
112 return 'JSON decode error: Unexpected control character found';
114 return 'JSON decode error: Syntax error, malformed JSON';
116 return 'JSON decode error: Malformed UTF-8 characters, possibly incorrectly encoded';
118 return 'JSON decode error: unknown';
130 $result = $this->decodeAndRunQuery($match);
142 $renderer->doc .= "<pre>";
150 $renderer->doc .= str_pad($k, 30) . "$v\n";
153 $renderer->doc .= "--- $k ---\n";
154 $renderer->doc .= print_r($v, true);
155 $renderer->doc .= "end $k end\n";
159 $renderer->doc .= print_r($match, true);
165 $renderer->doc .= "</pre>";