Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (Socket $socket=null, $siteVerifyUrl=null) | |
submit (RequestParameters $params) | |
Attributs privés | |
$socket | |
Sends a POST request to the reCAPTCHA service, but makes use of fsockopen() instead of get_file_contents(). This is to account for people who may be on servers where allow_url_open is disabled.
Only needed if you want to override the defaults
\ReCaptcha\RequestMethod\Socket | $socket | optional socket, injectable for testing |
string | $siteVerifyUrl | URL for reCAPTCHA siteverify API |
Références SocketPost\$socket, et ReCaptcha\SITE_VERIFY_URL.
submit | ( | RequestParameters | $params | ) |
Submit the POST request with the specified parameters.
RequestParameters | $params | Request parameters |
Implémente RequestMethod.
|
private |
Référencé par SocketPost\__construct().