Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
FormContentDict Class Reference
Inheritance diagram for FormContentDict:
UserDict FormContent SvFormContentDict InterpFormContentDict

Public Member Functions

def __init__
 
- Public Member Functions inherited from UserDict
def __init__
 
def __repr__
 
def __cmp__
 
def __len__
 
def __getitem__
 
def __setitem__
 
def __delitem__
 
def clear
 
def copy
 
def keys
 
def items
 
def iteritems
 
def iterkeys
 
def itervalues
 
def values
 
def has_key
 
def update
 
def get
 
def setdefault
 
def popitem
 
def __contains__
 

Data Fields

 dict
 
 data
 
 query_string
 
- Data Fields inherited from UserDict
 data
 

Detailed Description

Form content as dictionary with a list of values per field.

form = FormContentDict()

form[key] -> [value, value, ...]
form.has_key(key) -> Boolean
form.keys() -> [key, key, ...]
form.values() -> [[val, val, ...], [val, val, ...], ...]
form.items() ->  [(key, [val, val, ...]), (key, [val, val, ...]), ...]
form.dict == {key: [val, val, ...], ...}

Definition at line 767 of file cgi.py.

Constructor & Destructor Documentation

def __init__ (   self,
  environ = os.environ 
)

Definition at line 780 of file cgi.py.

781  def __init__(self, environ=os.environ):
782  self.dict = self.data = parse(environ=environ)
783  self.query_string = environ['QUERY_STRING']
784 

Field Documentation

data

Definition at line 781 of file cgi.py.

dict

Definition at line 781 of file cgi.py.

query_string

Definition at line 782 of file cgi.py.


The documentation for this class was generated from the following file: