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

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

Create a ZODB (editable) equivalent of this object.

Definition at line 101 of file FSControllerPageTemplate.py.

00101                               :
        """Create a ZODB (editable) equivalent of this object."""
        obj = ControllerPageTemplate(self.getId(), self._text, self.content_type)
        obj.expand = 0
        obj.write(self.read())
        obj.validators = copy.copy(Acquisition.aq_base(self.validators))
        obj.actions = copy.copy(Acquisition.aq_base(self.actions))
        return obj


    security.declarePublic('writableDefaults')


Generated by  Doxygen 1.6.0   Back to index