Package gluon :: Module sqlhtml :: Class SQLTABLE
[hide private]
[frames] | no frames]

Class SQLTABLE

source code

object --+        
         |        
  html.DIV --+    
             |    
    html.TABLE --+
                 |
                SQLTABLE

given a SQLRows object, as returned by a db().select(), generates and html table with the rows.

optional arguments: linkto: URL to edit individual records uplaod: URL to download uploaded files optional names attributes for passed to the <table> tag

Instance Methods [hide private]
 
__init__(self, sqlrows, linkto=None, upload=None, **attributes)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from html.TABLE: postprocessing

Inherited from html.DIV: __str__, accepts, rec_accepts, rec_clear, xml

Inherited from html.DIV (private): _xml

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

Class Variables [hide private]

Inherited from html.TABLE: tag

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, sqlrows, linkto=None, upload=None, **attributes)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: html.DIV.__init__