Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.contentrules.browser.traversal.RuleConditionNamespace Class Reference

List of all members.

Public Member Functions

def __init__
def traverse

Public Attributes

 context
 request

Detailed Description

Used to traverse to a rule condition

Traversing to portal/++rule++foo/++condition++1 will retrieve the second
condition of the rule rule with id 'foo', acquisition-wrapped.

Definition at line 29 of file traversal.py.


Constructor & Destructor Documentation

def plone.app.contentrules.browser.traversal.RuleConditionNamespace.__init__ (   self,
  context,
  request = None 
)

Definition at line 38 of file traversal.py.

00038 
00039     def __init__(self, context, request=None):
00040         self.context = context
00041         self.request = request
        

Here is the caller graph for this function:


Member Function Documentation

Definition at line 42 of file traversal.py.

00042 
00043     def traverse(self, name, ignore):
00044         condition = self.context.conditions[int(name)]
00045         traversal_id = "++condition++%s" % name
00046         if condition.id != traversal_id:
00047             condition.__name__ = condition.id = traversal_id
00048         return condition
        

Member Data Documentation

Definition at line 39 of file traversal.py.

Definition at line 40 of file traversal.py.


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