Back to index

plone3  3.1.7
Classes | Functions | Variables
Marshall.predicates._base Namespace Reference

Classes

class  Predicate

Functions

def manage_addPredicate
def manage_availablePredicates
def manage_availableComponents

Variables

tuple manage_addPredicateForm
tuple constructors

Function Documentation

def Marshall.predicates._base.manage_addPredicate (   self,
  id,
  title,
  predicate,
  expression,
  component_name,
  REQUEST = None 
)
Factory method that creates a Property Set Predicate

Definition at line 140 of file _base.py.

00140 
00141                         component_name, REQUEST=None):
00142     """ Factory method that creates a Property Set Predicate"""
00143     obj = createPredicate(predicate, id, title, expression, component_name)
00144     self._setObject(id, obj)
00145 
00146     if REQUEST is not None:
00147         next = 'manage_main'
00148         if hasattr(obj, 'manage_changeSettingsForm'):
00149             next = 'manage_changeSettingsForm'
00150         REQUEST['RESPONSE'].redirect('/'.join((self.absolute_url(), id, next)))
00151 
00152     return self._getOb(id)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 156 of file _base.py.

Here is the call graph for this function:

Definition at line 153 of file _base.py.

Here is the call graph for this function:


Variable Documentation

Initial value:
00001 (
00002   ('manage_addPredicateForm', manage_addPredicateForm),
00003   ('manage_addPredicate', manage_addPredicate),
00004   ('manage_availablePredicates', manage_availablePredicates),
00005   ('manage_availableComponents', manage_availableComponents),
00006 )

Definition at line 163 of file _base.py.

Initial value:
00001 PageTemplateFile(
00002     '../www/predicateAdd', globals(),
00003     __name__='manage_addPredicateForm')

Definition at line 159 of file _base.py.