Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
GenericSetup.zcml.importStep Class Reference

List of all members.

Public Member Functions

def __init__
def depends
def __call__

Public Attributes

 context
 discriminator
 name
 handler
 title
 description
 dependencies

Detailed Description

Definition at line 168 of file zcml.py.


Constructor & Destructor Documentation

def GenericSetup.zcml.importStep.__init__ (   self,
  context,
  name,
  title,
  description,
  handler 
)
Add a new import step to the registry.

Definition at line 169 of file zcml.py.

00169 
00170     def __init__(self, context, name, title, description, handler):
00171         """ Add a new import step to the registry.
00172         """
00173         self.context=context
00174         self.discriminator = ('importStep', name),
00175         self.name=name
00176         self.handler=handler
00177         self.title=title
00178         self.description=description
00179         self.dependencies=()
00180 


Member Function Documentation

Definition at line 185 of file zcml.py.

00185 
00186     def __call__(self):
00187         global _import_step_regs
00188         _import_step_regs.append(self.name)
00189 
00190         self.context.action(
00191             discriminator = self.discriminator,
00192             callable = _import_step_registry.registerStep,
00193             args = (self.name, None, self.handler, self.dependencies,
00194                         self.title, self.description),
00195             )

Here is the caller graph for this function:

def GenericSetup.zcml.importStep.depends (   self,
  context,
  name 
)

Definition at line 181 of file zcml.py.

00181 
00182     def depends(self, context, name):
00183         self.dependencies+=(name,)
00184 


Member Data Documentation

Definition at line 172 of file zcml.py.

Definition at line 178 of file zcml.py.

Definition at line 177 of file zcml.py.

Definition at line 173 of file zcml.py.

Definition at line 175 of file zcml.py.

Definition at line 174 of file zcml.py.

Definition at line 176 of file zcml.py.


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