Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
kss.core.pluginregistry.json.utils.KSSCommandWriter Class Reference

List of all members.

Public Member Functions

def __init__
def __jsonwrite__

Public Attributes


Detailed Description

Definition at line 47 of file

Constructor & Destructor Documentation

def kss.core.pluginregistry.json.utils.KSSCommandWriter.__init__ (   self,

Definition at line 51 of file

00052     def __init__(self, context, writer):
00053         self.context = context
00054         self.writer = writer

Here is the caller graph for this function:

Member Function Documentation

Definition at line 55 of file

00056     def __jsonwrite__(self):
00057         writer = self.writer
00058         # All is written as a dict
00059         d = dict(self.context.__dict__)
00060         # params are converted to a dict from a list.
00061         # Also get rid of "none" params that were only a hack for xml
00062         d['params'] = dict([(, param.content) for param in d['params'] if != 'none'])
00063         writer.write_repr(d)

Here is the call graph for this function:

Member Data Documentation

Definition at line 52 of file

Definition at line 53 of file

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