Logo Search packages:      
Sourcecode: zope-cmfformcontroller version File versions

def zope-cmfformcontroller-1.0.3::FSControllerPythonScript::FSControllerPythonScript::_createZODBClone (   self  )  [private]

Create a ZODB (editable) equivalent of this object.

Definition at line 127 of file FSControllerPythonScript.py.

00127                               :
        """Create a ZODB (editable) equivalent of this object."""
        obj = ControllerPythonScript(self.getId(), filepath=self.filepath)
        obj.validators = copy.copy(Acquisition.aq_base(self.validators))  # XXX - don't forget to enable this
        obj.actions = copy.copy(Acquisition.aq_base(self.actions))
        return obj


Generated by  Doxygen 1.6.0   Back to index