### Class MinimalCGI

## SYNOPSIS

    import cgiapp

    class MinimalCGI(SimpleDocument, CGI)
      instance method __init__ = <unbound method CGI.__init__>
      string __module__ = 'cgiapp'

      # Methods inherited by MinimalCGI from BasicDocument
      def append(self, *items)
      def append_file(self, filename, marker_function = None)
      def copy(self)
      def prepend(self, *items)
      def write(self, filename = None)

      # Methods inherited by MinimalCGI from SeriesDocument
      def __str__(self)
      def footer(self)
      def header(self)
      def nav_buttons(self)

      # Methods inherited by MinimalCGI from CGI
      def __init__(self, **kw)
      def get_form(self)
      def run(self, cont=0)
      def verify(self)

      # Methods inherited by MinimalCGI from SimpleDocument
      def html_body_tag(self)
      def html_head(self)

## DESCRIPTION

### def append(self, *items)

Add content to the Document object.

Arg items can be plain text or objects; multiple arguments supported.

### def append_file(self, filename, marker_function = None)

Add the contents of a file to the document.

filename
  the filename of the file to be read [string]
marker_function
  a callable object which the text read from the file will be passed through before being added to the document.

### def copy(self)

Return a complete copy of the current Document object.

### def footer(self)

Generate the standard footer markups.

### def header(self)

Generate the standard header markups.

### def html_body_tag(self)

Return BODY tag with attributes.

### def html_head(self)

Generate the HEAD TITLE and BODY tags.

### def nav_buttons(self)

Generate hyperlinked navigation buttons.

If a self.go* attribute is null that corresponding button is replaced with a transparent gif to properly space the remaining buttons.

### def prepend(self, *items)

Add content to the beginning of the Document object.

Arg items can be plain text or objects; multiple arguments supported.

### def write(self, filename = None)

Emit the Document HTML to a file or standard output.

In Unix you can use environment variables in filenames. Will print to stdout if no argument.

## SEE ALSO

cgiapp

SimpleDocument

CGI

Copyright © 1996-9 Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999