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

def zope-coreblog-1.0::Entry::Entry::moderateTrackbacks (   self,
  mod_ids = [],
  REQUEST = None 

Chenge moderate setting for trackbacks in mod_ids 

Definition at line 829 of file Entry.py.

00829                                                         :
        """ Chenge moderate setting for trackbacks in mod_ids """
        if type(mod_ids) != ListType:
            raise TypeError,"Paramater 'ids' must be a ListType."
        for id in mod_ids:
        unmod_list = []
        int_mod_list = []
        for id in mod_ids:
        for id in self.trackbacks:
            if id not in int_mod_list:
        for id in unmod_list:

        self.moderated_trackback_count = len(mod_ids)

        if REQUEST:
            return REQUEST.RESPONSE.redirect(REQUEST['HTTP_REFERER'])

    security.declareProtected(AddCOREBlogComments, 'moderateTrackback')

Generated by  Doxygen 1.6.0   Back to index