Function checkIfNew
A little helper function that checks if an image or album is to be considered 'new' within the time range set in relation to getImageDate()/getAlbumDate() Returns true or false.
Package: plugins
Author: Malte Müller (acrylian), Stephen Billard (sbillard), gjr
Located at zp-extensions/image_album_statistics.php
Author: Malte Müller (acrylian), Stephen Billard (sbillard), gjr
Located at zp-extensions/image_album_statistics.php
string |
$mode = "image" |
What to check "image" or "album". |
integer |
$timerange = 604800 |
The time range the item should be considered new. Default is 604800 (unix time seconds = ca. 7 days) |
boolean
|
bool |