web2py.gluon.validators.IS_HTTP_URL:
Rejects a URL string if any of the following is true:
* The string is empty or None
* The string uses characters that are not allowed in a URL
* The string breaks any of the HTTP syntactic rules
* The URL scheme specified (if one is specified) is not 'http' or 'https'
* The top-level domain (if a host name is specified) does not exist
Based on RFC 2616: http://www.faqs.org/rfcs/rfc2616.html
This function only checks the URL's syntax.
web2py.gluon.validators.IS_URL:
Rejects a URL string if any of the following is true:
* The string is empty or None
* The string uses characters that are not allowed in a URL
* The string breaks any of the HTTP syntactic rules
* The URL scheme specified (if one is specified) is not 'http' or 'https'
* The top-level domain (if a host name is specified) does not exist
(These rules are based on RFC 2616: http://www.faqs.org/rfcs/rfc2616.html)
This function only checks the URL's syntax.
web2py.gluon.validators.IS_FLOAT_IN_RANGE:
Determine that the argument is (or can be represented as) a
float, and that it falls within the specified inclusive range.
web2py.gluon.validators.IS_IMAGE:
Checks if file uploaded through file input was saved in one of
selected image formats and has dimensions (width and height) within
given boundaries.
web2py.gluon.validators.IS_GENERIC_URL:
Rejects a URL string if any of the following is true:
* The string is empty or None
* The string uses characters that are not allowed in a URL
* The URL scheme specified (if one is specified) is not valid
Based on RFC 2396: http://www.faqs.org/rfcs/rfc2396.html
This function only checks the URL's syntax.
web2py.gluon.validators.IS_DECIMAL_IN_RANGE:
Determine that the argument is (or can be represented as) a
Python Decimal, and that it falls within the specified inclusive
range.
web2py.gluon.dal.Row:
a dictionary that lets you do d['a'] as well as d.a this is only
used to store a Row
web2py.gluon.storage.Storage:
A Storage object is like a dictionary except `obj.foo` can be
used in addition to `obj['foo']`.
web2py.gluon.globals.Response:
defines the response object and the default values of its
members response.write( ) can be used to write in the output
html
web2py.gluon.rocket.Worker:
The Worker class is a base class responsible for receiving
connections and (a subclass) will run an application to process the
the connection
web2py.gluon.sqlhtml.SQLFORM:
SQLFORM is used to map a table (and a current record) into an HTML form
given a SQLTable stored in db.table
generates an insert form::
SQLFORM(db.table)
generates an update form::
record=db.table[some_id]
SQLFORM(db.table, record)
generates an update with a delete button::
SQLFORM(db.table, record, deletable=True)
if record is an int::
record=db.table[record]
optional arguments:
:param fields: a list of fields that should be placed in the form,
default is all.
web2py.gluon.tools.PluginManager:
Plugin Manager is similar to a storage object but it is a single
level singleton this means that multiple instances within the same
thread share the same attributes Its constructor is also
special.
web2py.gluon.tools.Mail:
Class for configuring and sending emails with alternative text /
html body, multiple attachments and encryption support
web2py.gluon.dal.SQLALL:
Helper class providing a comma-separated string having all the
field names (prefixed by table name and '.')
web2py.gluon.compileapp.mybuiltin:
NOTE could simple use a dict and populate it, NOTE not sure if
this changes things though if monkey patching import.....
datetime.date:
date(year, month, day) --> date object
web2py.gluon.contrib.pymysql.err.DataError:
Exception raised for errors that are due to problems with the
processed data like division by zero, numeric value out of range,
etc.