function _ed_classified_days_to_seconds in Classified Ads 6.2
Same name and namespace in other branches
- 5.2 ed_classified_utils.inc \_ed_classified_days_to_seconds()
- 5 ed_classified_utils.inc \_ed_classified_days_to_seconds()
- 7.2 ed_classified_utils.inc \_ed_classified_days_to_seconds()
convert days to # seconds
4 calls to _ed_classified_days_to_seconds()
- _ed_classified_ad_expires_soon in ./
ed_classified_utils.inc - Helper function: does $expiration date expire "soon" (soon depends on who you ask)
- _ed_classified_form_submit in ./
ed_classified.module - Implementation of form submission handler
- _ed_classified_notify_advertisers_periodic in ./
ed_classified_notifications.inc - Process "periodic" notifications.
- _ed_classified_purge in ./
ed_classified_delete.inc - Purge old, expired classified ads
File
- ./
ed_classified_utils.inc, line 87 - Simple text-based classified ads module.
Code
function _ed_classified_days_to_seconds($days) {
return $days * 86400;
// 60 * 60 * 24 = 86400
}