Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
onPrivacyCollectAdminCapabilities () | |
onInit ($id='dynamic_recaptcha_invisible_1') | |
onDisplay ($name=null, $id='dynamic_recaptcha_invisible_1', $class='') | |
onCheckAnswer ($code=null) | |
onSetupField (\Joomla\CMS\Form\Field\CaptchaField $field, \SimpleXMLElement $element) | |
Fonctions membres publiques hérités de CMSPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension='', $basePath=JPATH_ADMINISTRATOR) | |
setApplication (CMSApplicationInterface $application) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de PluginInterface | |
registerListeners () | |
Attributs protégés | |
$autoloadLanguage = true | |
$app | |
Attributs protégés hérités de CMSPlugin | |
$_name = null | |
$_type = null | |
$autoloadLanguage = false | |
$allowLegacyListeners = true | |
Fonctions membres privées | |
getResponse ($privatekey, $remoteip, $response) | |
Membres hérités additionnels | |
Champs de données hérités de CMSPlugin | |
$params = null | |
Fonctions membres protégées hérités de CMSPlugin | |
registerLegacyListener (string $methodName) | |
registerListener (string $methodName) | |
getApplication () | |
Invisible reCAPTCHA Plugin.
|
private |
Get the reCaptcha response.
string | $privatekey | The private key for authentication. |
string | $remoteip | The remote IP of the visitor. |
string | $response | The response received from Google. |
onCheckAnswer | ( | $code = null | ) |
Calls an HTTP POST function to verify if the user's guess was correct
string | $code | Answer provided by user. Not needed for the Recaptcha implementation |
Références $input.
onDisplay | ( | $name = null , |
|
$id = 'dynamic_recaptcha_invisible_1' , |
|||
$class = '' |
|||
) |
onInit | ( | $id = 'dynamic_recaptcha_invisible_1' | ) |
Initialise the captcha
string | $id | The id of the field. |
onPrivacyCollectAdminCapabilities | ( | ) |
Reports the privacy related capabilities for this plugin to site administrators.
onSetupField | ( | \Joomla\CMS\Form\Field\CaptchaField | $field, |
\SimpleXMLElement | $element | ||
) |
Method to react on the setup of a captcha field. Gives the possibility to change the field and/or the XML element for the field.
\Joomla\CMS\Form\Field\CaptchaField | $field | Captcha field instance |
\SimpleXMLElement | $element | XML form definition |
|
protected |
|
protected |