Docs for SQLFORM.__str__

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

Description


<type 'instancemethod'>


Attributes


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

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

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

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

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

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

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

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

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

SQLFORM.__str__.__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.__str__.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

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

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

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

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

SQLFORM.__str__.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.__str__.im_func <type 'function'> belongs to class <type 'function'>

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