Docs for SELECT

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

Description


<type 'type'> extends (<class 'gluon.html.INPUT'>,)


1.
2.
3.
4.
5.
6.
7.

example:

>>>
SELECT('yes','no',_name='selector',value='yes',requires=IS_IN_SET(['yes','no'])).xml()
'<select name="selector"><option selected="selected" value="yes">yes</option><option value="no">no</option></select>'



Attributes


SELECT.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
type(object) -> the object's type type(name, bases, dict) -> a new type

SELECT.__delattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__delattr__('name') <==> del x.name

SELECT.__delitem__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.__dict__ <type 'dictproxy'> belongs to class <type 'dictproxy'>

SELECT.__doc__ <type 'str'> belongs to class <type 'str'>
str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

SELECT.__getattribute__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__getattribute__('name') <==> x.name

SELECT.__getitem__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.__hash__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__hash__() <==> hash(x)

SELECT.__init__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.__len__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.__module__ <type 'str'> belongs to class <type 'str'>
str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

SELECT.__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

SELECT.__reduce__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
helper for pickle

SELECT.__reduce_ex__ <type 'method_descriptor'> belongs to class <type 'method_descriptor'>
helper for pickle

SELECT.__repr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__repr__() <==> repr(x)

SELECT.__setattr__ <type 'wrapper_descriptor'> belongs to class <type 'wrapper_descriptor'>
x.__setattr__('name', value) <==> x.name = value

SELECT.__setitem__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.__str__ <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.__weakref__ <type 'getset_descriptor'> belongs to class <type 'getset_descriptor'>
list of weak references to the object (if defined)

SELECT._fixut <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT._postprocessing <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT._traverse <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT._validate <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT._xml <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.append <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.insert <type 'instancemethod'> belongs to class <type 'instancemethod'>

SELECT.tag <type 'str'> belongs to class <type 'str'>
str(object) -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

SELECT.xml <type 'instancemethod'> belongs to class <type 'instancemethod'>