Lines Matching refs:error
58 protected function checkCSRF(&$error) argument
61 $error = $this->error("Invalid CSRF token {$this->csrf}");
71 if (!$this->checkCSRF($error)) {
72 return json_encode($error);
75 if (!$this->validate($error)) {
76 return json_encode($error);
113 $responseData = $this->error('Unknown action');
121 protected function validate(&$error) argument
124 $error = $this->error('no payload');
129 $error = $this->error('this action is not supported');
134 $error = $this->error('this action is not supported');
139 $error = $this->error('invalid pageId');
144 $error = $this->error('you don\'t have permissions');
152 protected function error($msg) function in dokuwiki\\plugin\\yuriigantt\\src\\JsonRequest