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

Class Recaptcha

source code

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

Instance Methods [hide private]
 
__init__(self, request, public_key='', private_key='', use_ssl=True, error=1, error_message='invalid', label='Verify:', options='')
: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 gluon.html.DIV: __delitem__, __getitem__, __len__, __nonzero__, __setitem__, __str__, append, element, elements, flatten, insert, sibling, siblings, update

Inherited from gluon.html.DIV (private): _fixup, _postprocessing, _setnode, _traverse, _wrap_components, _xml

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

Class Variables [hide private]
  API_SSL_SERVER = 'https://www.google.com/recaptcha/api'
  API_SERVER = 'http://www.google.com/recaptcha/api'
  VERIFY_SERVER = 'http://www.google.com/recaptcha/api/verify'

Inherited from gluon.html.DIV: regex_attr, regex_class, regex_id, regex_tag, tag

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, request, public_key='', private_key='', use_ssl=True, error=1, error_message='invalid', label='Verify:', options='')
(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: gluon.html.DIV.__init__
(inherited documentation)

_validate(self)

source code 
nothing to validate yet. May be overridden by subclasses
Overrides: gluon.html.DIV._validate
(inherited documentation)

xml(self)

source code 
generates the xml for this component.
Overrides: gluon.html.DIV.xml
(inherited documentation)