Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.contentrules.browser.traversal.RuleNamespace 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.

Traversing to portal/++rule++foo will retrieve the rule with id 'foo'
stored in context, acquisition-wrapped.

Definition at line 12 of file traversal.py.


Constructor & Destructor Documentation

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

Definition at line 21 of file traversal.py.

00021 
00022     def __init__(self, context, request=None):
00023         self.context = context
00024         self.request = request
        

Here is the caller graph for this function:


Member Function Documentation

Definition at line 25 of file traversal.py.

00025 
00026     def traverse(self, name, ignore):
00027         manager = getUtility(IRuleStorage)
00028         return manager[name]


Member Data Documentation

Definition at line 22 of file traversal.py.

Definition at line 23 of file traversal.py.


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