Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($subject, $config) | |
onInit ($id) | |
onDisplay ($name, $id, $class) | |
onCheckAnswer ($code) | |
Fonctions membres publiques inherited from JPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR) | |
Fonctions membres publiques inherited from JEvent | |
__construct (&$subject) | |
update (&$args) | |
Fonctions membres publiques inherited from JObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Attributs publics | |
const | RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api" |
const | RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api" |
const | RECAPTCHA_VERIFY_SERVER = "www.google.com" |
Attributs publics inherited from JPlugin | |
$params = null |
Fonctions membres privées | |
_recaptcha_qsencode ($data) | |
_recaptcha_http_post ($host, $path, $data, $port=80) | |
_getLanguage () |
Additional Inherited Members | |
Attributs protégés inherited from JPlugin | |
$_name = null | |
$_type = null | |
Attributs protégés inherited from JEvent | |
$_subject = null | |
Attributs protégés inherited from JObject | |
$_errors = array() |
plgCaptchaRecaptcha::__construct | ( | $subject, | |
$config | |||
) |
Références $config.
|
private |
Get the language tag or a custom translation
Références $language, $tag, JText\_(), et JFactory\getLanguage().
|
private |
Submits an HTTP POST to a reCAPTCHA server.
string | $host | |
string | $path | |
array | $data | |
int | $port |
Références $data.
|
private |
plgCaptchaRecaptcha::onCheckAnswer | ( | $code | ) |
Calls an HTTP POST function to verify if the user's guess was correct
Références JText\_(), JRequest\getString(), JRequest\getVar(), et null.
plgCaptchaRecaptcha::onDisplay | ( | $name, | |
$id, | |||
$class | |||
) |
Gets the challenge HTML
plgCaptchaRecaptcha::onInit | ( | $id | ) |
Initialise the captcha
string | $id | The id of the field. |
Références $lang, JHtml\_(), JText\_(), JFactory\getDocument(), JBrowser\getInstance(), et null.
const plgCaptchaRecaptcha::RECAPTCHA_API_SECURE_SERVER = "https://www.google.com/recaptcha/api" |
const plgCaptchaRecaptcha::RECAPTCHA_API_SERVER = "http://www.google.com/recaptcha/api" |
const plgCaptchaRecaptcha::RECAPTCHA_VERIFY_SERVER = "www.google.com" |