theme_ed_classified_teaser |
./ed_classified_themefuncs.inc |
|
|
|
_edi_l |
./ed_classified_utils.inc |
front end to l() due to differences between D5 & D6 causes pain
Take D6 params but down convert to D5 if need be |
11 |
|
_edi_safe_date_fmt |
./ed_classified_utils.inc |
|
2 |
|
_edi_wd |
./ed_classified_utils.inc |
shortcut - log something to the watchdog log |
9 |
|
_ed_classified_ad_expired_already |
./ed_classified_utils.inc |
return true if ad has expired |
1 |
|
_ed_classified_ad_expires_soon |
./ed_classified_utils.inc |
Helper function: does $expiration date expire "soon" (soon depends on who you ask) |
1 |
|
_ed_classified_cfg_varname |
./ed_classified_utils.inc |
config variable helpers |
3 |
|
_ed_classified_check_settings |
./ed_classified_utils.inc |
do the sanity-check dance. |
1 |
|
_ed_classified_days_to_seconds |
./ed_classified_utils.inc |
convert days to # seconds |
5 |
|
_ed_classified_delete |
./ed_classified_delete.inc |
Reimplement the node_delete code, because the code in node_delete
performs an access check for node deletion rights
This can be made more efficient, if needed. |
1 |
|
_ed_classified_displayname |
./ed_classified_utils.inc |
Helper gets content display name |
3 |
|
_ed_classified_displayname_parms |
./ed_classified_utils.inc |
|
3 |
|
_ed_classified_expire_ads |
./ed_classified_utils.inc |
expire old ads |
1 |
|
_ed_classified_form_submit |
./ed_classified.module |
Implementation of form submission handler |
1 |
1 |
_ed_classified_get_aged_ads |
./ed_classified_utils.inc |
Get a query result with any ads that have expired prior to a given date, and having a specific publish status |
2 |
|
_ed_classified_get_default_ad_duration_in_seconds |
./ed_classified_utils.inc |
Get default ad duration in seconds |
1 |
|
_ed_classified_get_duration |
./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 |
2 |
|
_ed_classified_get_ending_date_string |
./ed_classified_utils.inc |
Get just the raw text describing expiration date |
2 |
|
_ed_classified_get_longest_duration |
./ed_classified_utils.inc |
Find the longest duration, in days, for a given set of terms |
1 |
|
_ed_classified_get_primary_category |
./ed_classified_utils.inc |
Helper function to determine the single ad category name to which this node belongs. |
1 |
|
_ed_classified_get_vid |
./ed_classified_utils.inc |
Returns (and possibly creates) a primary vocabulary for classified
Repairs association with primary vocabulary if $detect is TRUE. |
8 |
|
_ed_classified_make_category_path |
./ed_classified_utils.inc |
Make a 'path' to a category view for a given tid. |
5 |
|
_ed_classified_make_edit_link |
./ed_classified_utils.inc |
Make a node edit link |
1 |
|
_ed_classified_module_exists |
./ed_classified_utils.inc |
Determine, in a version-friendly way, if a module exists.
some folks have decided to change module_exist() to module_exists() for 4.8/5.0. see: http://drupal.org/node/79601 |
2 |
|
_ed_classified_node_is_classified |
./ed_classified_utils.inc |
Is a node really a classified ad? |
3 |
|
_ed_classified_notify_advertisers_periodic |
./ed_classified_notifications.inc |
Process "periodic" notifications
Create a notification if a user has ads nearing expiration |
1 |
|
_ed_classified_notify_user_of_ad_expiration |
./ed_classified_notifications.inc |
Notify a user that their ad has expired. |
1 |
|
_ed_classified_periodic_notification_time |
./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. |
1 |
|
_ed_classified_process_notification_emails |
./ed_classified_notifications.inc |
Process notification email handling on cron run. |
1 |
|
_ed_classified_purge |
./ed_classified_delete.inc |
Purge old, expired classified ads |
2 |
1 |
_ed_classified_purge_ad |
./ed_classified_delete.inc |
"purge" an expired ad
(This will delete a classified ad that has been 'expired' and is older than the threshold) |
1 |
|
_ed_classified_purge_ads |
./ed_classified_delete.inc |
purge old ads (must have been expired - IOW, unpublished - first.) |
1 |
|
_ed_classified_query_results_to_array |
./ed_classified_utils.inc |
Convert db_query results to an array |
2 |
|
_ed_classified_record_periodic_notifications |
./ed_classified_notifications.inc |
Record last periodic notification processing time |
1 |
|
_ed_classified_send_user_notification_email |
./ed_classified_notifications.inc |
Send an email notification to the specified user |
2 |
|
_ed_classified_settings_get_banner |
./ed_classified_utils.inc |
Get settings 'banner' |
|
|
_ed_classified_unpublish_ad |
./ed_classified_delete.inc |
Unpublish a node
(Partially) lifted from spam module (jeremy [at] kerneltrap.org) |
1 |
|
_ed_classified_user_purge |
./ed_classified_delete.inc |
User entry point to purge old, expired classified ads |
|
1 |
_ed_classified_variable_get |
./ed_classified_utils.inc |
|
20 |
|
_ed_classified_variable_set |
./ed_classified_utils.inc |
|
2 |
|
_ed_tid_is_classified_term |
./ed_classified_utils.inc |
Is a tid a 'classified' term? Is a tid a child of our taxonomy? |
1 |
|