Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions
CMFFormController.ControllerValidator.ControllerValidator Class Reference
Inheritance diagram for CMFFormController.ControllerValidator.ControllerValidator:
Inheritance graph
Collaboration diagram for CMFFormController.ControllerValidator.ControllerValidator:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __call__
def manage_afterAdd
def manage_afterClone

Static Public Attributes

string meta_type = 'Controller Validator'
tuple manage_options
int is_validator = 1
tuple security = AccessControl.ClassSecurityInfo()

Private Member Functions

def _getState
def _notifyOfCopyTo

Detailed Description

Web-callable scripts written in a safe subset of Python.

The function may include standard python code, so long as it does
not attempt to use the "exec" statement or certain restricted builtins.

Definition at line 80 of file

Constructor & Destructor Documentation

Definition at line 124 of file

00125     def __init__(self, *args, **kwargs):
00126 #        self.actions = FormActionContainer()
00127         return ControllerValidator.inheritedAttribute('__init__')(self, *args, **kwargs)

Member Function Documentation

Definition at line 129 of file

00130     def __call__(self, *args, **kwargs):
00131         result = ControllerValidator.inheritedAttribute('__call__')(self, *args, **kwargs)
00132 #        if getattr(result, '__class__', None) == ControllerState and not result._isValidating():
00133 #            return self.getNext(result, self.REQUEST)
00134         return result

Here is the caller graph for this function:

Definition at line 135 of file

00136     def _getState(self):
00137         return getToolByName(self, 'portal_form_controller').getState(self, is_validator=1)

Here is the call graph for this function:

def CMFFormController.ControllerValidator.ControllerValidator._notifyOfCopyTo (   self,
  op = 0 
) [private]

Definition at line 138 of file

00139     def _notifyOfCopyTo(self, container, op=0):
00140         # BaseClass.inheritedAttribute('notifyOfCopyTo')(self, container, op)
00141         self._base_notifyOfCopyTo(container, op)

Here is the call graph for this function:

Definition at line 142 of file

00143     def manage_afterAdd(self, object, container):
00144         BaseClass.inheritedAttribute('manage_afterAdd')(self, object, container)
00145         self._base_manage_afterAdd(object, container)

Here is the call graph for this function:

Definition at line 146 of file

00147     def manage_afterClone(self, object):
00148         BaseClass.inheritedAttribute('manage_afterClone')(self, object)
00149         self._base_manage_afterClone(object)

Here is the call graph for this function:

Member Data Documentation

Definition at line 106 of file

Initial value:
         'help': ('PythonScripts', 'PythonScript_edit.stx')},

Definition at line 91 of file

Definition at line 87 of file

tuple = AccessControl.ClassSecurityInfo() [static]

Definition at line 108 of file

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