Logo Search packages:      
Sourcecode: zope-cps-portaltransforms version File versions  Download package

def PortalTransforms::zope::TransformsChain::TransformsChain::move_object_up (   self,
  id,
  REQUEST = None 
)

move object with the given id up in the list 

Definition at line 121 of file TransformsChain.py.

00121                                               :
        """  move object with the given id up in the list """
        newpos = self._object_ids.index(id) - 1
        self.move_object_to_position(id, newpos)
        if REQUEST is not None:
            REQUEST['RESPONSE'].redirect(self.absolute_url()+'/manage_main')

    security.declareProtected(ManageProperties, 'move_object_down')
    def move_object_down(self, id, REQUEST=None):


Generated by  Doxygen 1.6.0   Back to index