constant EDI_CLASSIFIED_VAR_DEF_EXPIRATION_DAYS in Classified Ads 5
Same name and namespace in other branches
- 5.2 ed_classified.module \EDI_CLASSIFIED_VAR_DEF_EXPIRATION_DAYS
- 6.2 ed_classified.module \EDI_CLASSIFIED_VAR_DEF_EXPIRATION_DAYS
- 7.2 ed_classified.module \EDI_CLASSIFIED_VAR_DEF_EXPIRATION_DAYS
3 uses of EDI_CLASSIFIED_VAR_DEF_EXPIRATION_DAYS
- ed_classified_admin_settings in ./ed_classified_settings.inc
- Implementation of hook_settings().
TODO - this is hardcoded to the Classified Ads vid - needs to be able to handle
any taxonomy assigned
- _ed_classified_get_default_ad_duration_in_seconds in ./ed_classified_utils.inc
- Get default ad duration in seconds
- _ed_classified_get_duration in ./ed_classified_utils.inc
- Get duration in days for taxonomy term (array of tids, indexed by vid);
Expecting array of size 1, so any more is ignored
if nothing set, use the default value
TODO - if a single value, not an array, then assume the vid to be the
Classified Ads vid
File
- ./ed_classified.module, line 41
- Simple text-based classified ads module.
Michael Curry, Exodus Development, Inc.
exodusdev@gmail.com
for more information, please visit http://exodusdev.com/drupal/modules/classified.module
Copyright (c) 2006, 2007 Exodus Development, Inc. All Rights…
Code
define('EDI_CLASSIFIED_VAR_DEF_EXPIRATION_DAYS', 30);