Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
plone.app.contentrules.browser.adding.RuleElementAdding Class Reference
Inheritance diagram for plone.app.contentrules.browser.adding.RuleElementAdding:
Inheritance graph
[legend]
Collaboration diagram for plone.app.contentrules.browser.adding.RuleElementAdding:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def nextURL
def renderAddButton
def namesAccepted
def nameAllowed
def isSingleMenuItem
def addingInfo
def hasCustomAddView

Static Public Attributes

 context = None
 request = None
 contentName = None

Detailed Description

Definition at line 64 of file adding.py.


Constructor & Destructor Documentation

def plone.app.contentrules.browser.adding.RuleElementAdding.__init__ (   self,
  context,
  request 
)

Definition at line 70 of file adding.py.

00070 
00071     def __init__(self, context, request):
00072         self.context = context
00073         self.request = request

Here is the caller graph for this function:


Member Function Documentation

Definition at line 91 of file adding.py.

00091 
00092     def addingInfo(self):
00093         return []

Definition at line 94 of file adding.py.

00094 
00095     def hasCustomAddView(self):
00096         return None
00097 

Definition at line 88 of file adding.py.

00088 
00089     def isSingleMenuItem(self):
00090         return False

Definition at line 85 of file adding.py.

00085 
00086     def nameAllowed(self):
00087         return False

Definition at line 82 of file adding.py.

00082 
00083     def namesAccepted(self):
00084         return False

Definition at line 74 of file adding.py.

00074 
00075     def nextURL(self):
00076         url = str(getMultiAdapter((aq_parent(self.context), self.request), name=u"absolute_url"))
00077         return url + "/@@manage-content-rules"

Here is the caller graph for this function:

Definition at line 78 of file adding.py.

00078 
00079     def renderAddButton(self):
00080         warn("The renderAddButton method is deprecated, use nameAllowed",
00081             DeprecationWarning, 2)

Here is the call graph for this function:


Member Data Documentation

Definition at line 68 of file adding.py.

Definition at line 66 of file adding.py.

Definition at line 67 of file adding.py.


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