parameters: (self, **kw)
docstring: For uninstall based on paramaters provided in **kw
docstring_summary: For uninstall based on paramaters provided in **kw
docstring_tokens: For uninstall based on paramaters provided in ** kw
function: def _uninstall(self, **kw):
        """
          For uninstall based on paramaters provided in **kw
        """
        # Uninstall everything
        # Trash everything
        for item_name in reversed(item_name_list):
          item = getattr(self, item_name, None)
          if item is not None:
            item.uninstall(self, **kw)
        # It is better to clear cache because the uninstallation of a
        # template deletes many things from the portal.
        self.getPortalObject().portal_caches.clearAllCache()
function_tokens: def _uninstall ( self , * * kw ) : # Uninstall everything # Trash everything for item_name in reversed ( item_name_list ) : item = getattr ( self , item_name , None ) if item is not None : item . uninstall ( self , * * kw ) # It is better to clear cache because the uninstallation of a # template deletes many things from the portal. self . getPortalObject ( ) . portal_caches . clearAllCache ( )