Index
Expiration module
Extends the content module by implementing the additional "expiration" feature. Any row has an "EXPIRED" calculated boolean field based on the "expiration_field" (a date field) and the "expiration" value (a time displacement in any format accepted by the strtotime() function).
Additionaly, a flag system is available, although not enabled by default. This feature allows the "flag" and "unflag" actions, useful for instance to signal suspicious content. The flag system has full statistical hooks for keeping track of counter values on a user basis.
The field owning the expiration time
The field containing the optional boolean flag
The field referring to the user who flagged
The field containing the flagging date
The field in user containing statistic on how many time the
user performed a flag action
The field in user containing statistic on how many time a
user received a flag action
The field in user containing statistic on how many time the
user performed an unflag action
The field in user containing statistic on how many time a
user received an unflag action
The default expiration time
Constructor
Initializes a TIP_Expiration instance.
TIP_Expirationwas last modified by TiP on Mon 25 May 2009 06:22:25 PM CEST