You are here
20 calls to _ed_classified_variable_get() in Classified Ads 5
ed_classified_admin_overview in ./ed_classified.module
Present admin options.
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_cron in ./ed_classified.module
Implementation of hook_cron ().
ed_classified_form in ./ed_classified.module
Implementation of hook_form ().
ed_classified_get_latest_ads_list in ./ed_classified_utils.inc
Get a list of latest ads for block use
ed_classified_get_popular_ads_list in ./ed_classified_utils.inc
Get a list of popular ads for block use
ed_classified_link in ./ed_classified.module
Implementation of hook_link ().
ed_classified_page in ./ed_classified.module
Display a page of classified ads, as appropriate.
Lifted from image_gallery module. Shameless.
ed_classified_validate in ./ed_classified.module
Implementation of hook_validate ().
theme_ed_classified_category_list_ad_row in ./ed_classified_themefuncs.inc
theme_ed_classified_taxonomy in ./ed_classified_themefuncs.inc
Theme a classified ads taxonomy browser page
_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
_ed_classified_get_vid in ./ed_classified_utils.inc
Returns (and possibly creates) a new vocabulary for classified
Lifted from image.module .
TODO: Create some built-in terms for the created taxonomy: Miscellaneous, Cars, Pets, etc. (look at craigslist for inspiration)
_ed_classified_notify_advertisers_periodic in ./ed_classified_notifications.inc
Process "periodic" notifications
Create a notification if a user has ads nearing expiration
_ed_classified_periodic_notification_time in ./ed_classified_notifications.inc
Return TRUE if we need to send periodic notifications according to time and configuration options
Only send notifications if sufficient time has passed since last notification run completed.
_ed_classified_purge in ./ed_classified_delete.inc
Purge old, expired classified ads
_ed_classified_purge_ad in ./ed_classified_delete.inc
"purge" an expired ad
(This will delete a classified ad that has been 'expired' and is older than the threshold)
_ed_classified_unpublish_ad in ./ed_classified_delete.inc
Unpublish a node
(Partially) lifted from spam module (jeremy [at] kerneltrap.org)
_ed_classified_variable_set in ./ed_classified_utils.inc