Synopsis - Synopsis.Formatters.HTML.View.Format

module Synopsis.Formatters.HTML.View
class Format
File: ../Synopsis/Formatters/HTML/View.py
Default and base class for formatting a view layout. The Format class basically defines the HTML used at the start and end of the view. The default creates an XHTML compliant header and footer with a proper title, and link to the stylesheet.
Methods Summary:
init(self, processor, prefix)
view_header(self, os, title, body, headextra, view)
Called to output the view header to the given output stream.
view_footer(self, os, body)
Called to output the view footer to the given output stream.
Methods Details:
view_header(self, os, title, body, headextra, view)
Called to output the view header to the given output stream. @param os a file-like object (use os.write()) @param title the title of this view @param body the body tag, which may contain extra parameters such as onLoad scripts, and may also be empty eg: for the frames index @param headextra extra html to put in the head section, such as scripts
view_footer(self, os, body)
Called to output the view footer to the given output stream. @param os a file-like object (use os.write()) @param body the close body tag, which may be empty eg: for the frames index
Generated on Thu Apr 16 16:27:01 2009 by
synopsis (version devel)