메소드 |
설명 |
|
__construct ( ) |
Plugin initialization. |
|
captcha_get_handler ( Gdn_PluginManager $sender ) |
Hook to return captcha submission data. |
|
captcha_isEnabled_handler ( Gdn_PluginManager $sender, array $args ) |
Hook to indicate a captcha service is available. |
|
captcha_render_handler ( Gdn_Controller $sender ) |
Hook (view) to render a captcha. |
|
captcha_settings_handler ( SettingsController $sender ) |
Hook (view) to manage captcha config. |
|
captcha_validate_handler ( Gdn_PluginManager $sender ) : boolean |
Hook to validate captchas. |
|
gdn_form_captcha_handler ( Gdn_Form $sender ) : string |
Display reCAPTCHA entry field. |
|
getPrivateKey ( ) : string |
Get private key from memory. |
|
getPublicKey ( ) : string |
Get public key from memory. |
|
setPrivateKey ( string $key ) |
Override private key in memory. |
|
setPublicKey ( string $key ) |
Override public key in memory. |
|
settingsController_registration_handler ( SettingsController $sender ) |
Hook (controller) to manage captcha config. |
|
setup ( ) |
On plugin enable. |
|
validateCaptcha ( string $captchaText ) : boolean |
Validate a reCAPTCHA submission. |
|