Docs for SQLFORM._validate

[ Python Tutorial ] [ Python Libraries ] [ web2py epydoc ]

Description


<type 'instancemethod'>


Attributes


SQLFORM._validate.__call__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__call__(...) <==> x(...)

SQLFORM._validate.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
instancemethod(function, instance, class) Create an instance method object.

SQLFORM._validate.__cmp__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__cmp__(y) <==> cmp(x,y)

SQLFORM._validate.__delattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name

SQLFORM._validate.__doc__ <type 'NoneType'> belongs to class <type 'NoneType'>

SQLFORM._validate.__get__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
descr.__get__(obj[, type]) -> value

SQLFORM._validate.__getattribute__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name

SQLFORM._validate.__hash__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__hash__() <==> hash(x)

SQLFORM._validate.__init__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

SQLFORM._validate.__new__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T

SQLFORM._validate.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

SQLFORM._validate.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

SQLFORM._validate.__repr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x)

SQLFORM._validate.__setattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value

SQLFORM._validate.__str__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x)

SQLFORM._validate.im_class <type 'type'> extends (<class 'gluon.html.FORM'>,) belongs to class <type 'type'>
SQLFORM is used to map a table (and a current record) into an HTML form given a SQLTable stored in db.table SQLFORM(db.table) generates an insert form record=db(db.table.id==some_id).select()[0] SQLFORM(db.table,record) generates an update form SQLFORM(db.table,record,deletable=True) generates an update with a delete button optional arguments: fields: a list of fields that should be placed in the form, default is all. labels: a dictionary with labels for each field. keys are field names. col3 : a dictionary with content for an optional third column (right of each field). keys are field names. linkto: the URL of a controller/function to access referencedby records see controller appadmin.py for examples upload: the URL of a controller/function to download an uploaded file see controller appadmin.py for examples any named optional attribute is passed to the <form> tag for example _class, _id, _style, _action,_method, etc.

SQLFORM._validate.im_func <type 'function'> belongs to class <type 'function'>

SQLFORM._validate.im_self <type 'NoneType'> belongs to class <type 'NoneType'>