Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.contentrules.browser.traversal.RuleActionNamespace 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/++action++1 will retrieve the second
condition of the rule rule with id 'foo', acquisition-wrapped.

Definition at line 49 of file traversal.py.


Constructor & Destructor Documentation

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

Definition at line 58 of file traversal.py.

00058 
00059     def __init__(self, context, request=None):
00060         self.context = context
00061         self.request = request
        

Here is the caller graph for this function:


Member Function Documentation

Definition at line 62 of file traversal.py.

00062 
00063     def traverse(self, name, ignore):
00064         action = self.context.actions[int(name)]
00065         traversal_id = "++action++%s" % name
00066         if action.id != traversal_id:
00067             action.__name__ = action.id = traversal_id
        return action

Member Data Documentation

Definition at line 59 of file traversal.py.

Definition at line 60 of file traversal.py.


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