function _classified_get_time in Classified Ads 7.3
Same name and namespace in other branches
- 6.3 classified.scheduled.inc \_classified_get_time()
Helper to return current time or a chosen time.
Parameters
int $time: A UNIX timestamp.
Return value
int A UNIX timestamp.
4 calls to _classified_get_time()
- classified_cron in ./
classified.module - Implements hook_cron().
- _classified_scheduled_build_expire in ./
classified.scheduled.inc - Unpublish nodes past their expiration date.
- _classified_scheduled_build_notify in ./
classified.scheduled.inc - Build one of the various notification lists.
- _classified_scheduled_build_purge in ./
classified.scheduled.inc - Purge nodes past their expiration date + grace period.
File
- ./
classified.scheduled.inc, line 28 - Scheduled operations for classified.module.
Code
function _classified_get_time($time = NULL) {
return isset($time) ? $time : REQUEST_TIME;
}