Package web2py :: Package gluon :: Module tools :: Class Recaptcha
[hide private]
[frames] | no frames]

Class Recaptcha

source code

       object --+        
                |        
html.XmlComponent --+    
                    |    
             html.DIV --+
                        |
                       Recaptcha

Instance Methods [hide private]
 
__init__(self, request, public_key='', private_key='', use_ssl=False, error=None, error_message='invalid')
:param *components: any components that should be nested in this element :param **attributes: any attributes you want to give to this element
source code
 
_validate(self)
nothing to validate yet.
source code
 
xml(self)
generates the xml for this component.
source code

Inherited from html.DIV: __delitem__, __getitem__, __len__, __nonzero__, __setitem__, __str__, append, element, elements, insert, update

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Variables [hide private]
  API_SSL_SERVER = 'https://api-secure.recaptcha.net'
  API_SERVER = 'http://api.recaptcha.net'
  VERIFY_SERVER = 'api-verify.recaptcha.net'

Inherited from html.DIV: tag

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, request, public_key='', private_key='', use_ssl=False, error=None, error_message='invalid')
(Constructor)

source code 

:param *components: any components that should be nested in this element :param **attributes: any attributes you want to give to this element

:raises SyntaxError: when a stand alone tag receives components

Overrides: object.__init__
(inherited documentation)

_validate(self)

source code 

nothing to validate yet. May be overridden by subclasses

Overrides: html.DIV._validate
(inherited documentation)

xml(self)

source code 

generates the xml for this component.

Overrides: html.XmlComponent.xml