[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/google/recaptcha/src/ReCaptcha/ -> Response.php (summary)

This is a PHP library that handles calling reCAPTCHA.

Copyright: Copyright (c) 2015, Google Inc.
File Size: 102 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Response:: (4 methods):
  fromJson()
  __construct()
  isSuccess()
  getErrorCodes()


Class: Response  - X-Ref

The response returned from the service.

fromJson($json)   X-Ref
Build the response from the expected JSON returned by the service.

param: string $json
return: \ReCaptcha\Response

__construct($success, array $errorCodes = array()   X-Ref
Constructor.

param: boolean $success
param: array $errorCodes

isSuccess()   X-Ref
Is success?

return: boolean

getErrorCodes()   X-Ref
Get error codes.

return: array



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1