[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 176 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 5 fois |
Nécessite: | 0 fichiers |
PurgeData:: (5 méthodes):
deleteBlogData()
purgeBlogs()
purgeSpamComments()
purgePosts()
purgeUsers()
deleteBlogData( $blogId ) X-Ref |
Deletes a blog and all its data param: blogId The id of the blog whose data we'd like to delete |
purgeBlogs( $amount = DEFAULT_PURGE_AMOUNT) X-Ref |
removes all blogs that have 'deleted' status return: Returns how many we purged, and when this method returns '0', it means that there is nothing else |
purgeSpamComments( $amount = DEFAULT_PURGE_AMOUNT ) X-Ref |
Purge spam comments param: amount return: Returns false on error, or else number of comments purged, |
purgePosts( $amount = DEFAULT_PURGE_AMOUNT ) X-Ref |
Purge articles that have been marked as deleted param: amount return: Returns false on error, or else number of posts purged, |
purgeUsers( $amount = DEFAULT_PURGE_AMOUNT ) X-Ref |
Purge users that have been marked as disabled. If these users own a blog, then the blog will also be removed param: amount return: Returns number of users purged, |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |