Package orm2 :: Package ui :: Package xist :: Module result_table :: Class header
[hide private]
[frames] | no frames]

Class header

source code

_cell --+
        |
       header
Known Subclasses:
arbitrary_header, sort_header

A header element for a result_table.

Instance Methods [hide private]
  __call__(self, base_url, request)
  __init__(self, result_table, dbproperty, title=None)
  title(self)
Return a valid title as a string.

Method Details [hide private]

__call__(self, base_url, request)
(Call operator)

source code 
Returns:
a cell (html.th()) element.
Overrides: _cell.__call__

__init__(self, result_table, dbproperty, title=None)
(Constructor)

source code 
Parameters:
  • dbproperty - Dbproperty displayed in the column headed by this header. May be None.
  • title - The title used by the header, defaults to the dbproperty's title.
Overrides: _cell.__init__

title(self)

source code 
Return a valid title as a string.