You are here

Functions in Advertisement 5.2

Primary tabs

Namesort descending Location Description Direct uses Strings
ad ./ad.module Use this function to display ads from a specified group. 4 11
adserve_ad ./adserve.inc The main adserve logic. 2
adserve_bootstrap ./adserve.inc Include the necessary files and call the Drupal bootstrap. 6
adserve_cache ./adcache.inc Wrapper for calling adserve_cache functions. 8
adserve_cache_build_hooks ./adcache.inc Helper function to build hook tree.
adserve_cache_display ./adcache.inc Default function for displaying advertisements. This is not generally replaced by ad cache modules.
adserve_cache_display_ad ./adcache.inc Load and display an advertisement directly from the database.
adserve_cache_get_ad_ids ./adcache.inc Default wrapper function for displaying advertisements. This generally is not replaced by ad caches modules.
adserve_cache_get_cache ./adcache.inc Build and return the cache. TODO: It's expensive to build the cache each time we serve an ad, this should be cached in the database, not in a static.
adserve_cache_hook ./adcache.inc Invoke the appropraite hook.
adserve_cache_id ./adcache.inc Default function for retrieving list of ids.
adserve_cache_increment ./adcache.inc Increment action directly in the database.
adserve_cache_open ./adcache.inc Default initialization function, fully bootstraps Drupal to gain access to the database.
adserve_cache_validate ./adcache.inc Validate aids.
adserve_counter_image ./imageserve.inc Generate a tiny image with GD, used to count when an ad has been displayed on a cached page. 1
adserve_debug ./adserve.inc Display additional debug information. 1
adserve_hook_filter ./adcache.inc Support filter hooks.
adserve_hook_select ./adcache.inc Randomly select advertisements.
adserve_include_drupal ./adserve.inc Include Drupal's bootstrap.inc. 1
adserve_invoke_file ./adserve.inc Invoke a function in the specified file.
adserve_invoke_hook ./adcache.inc Invoke adserve cache hook, including files as necessary. 4
adserve_variable ./adserve.inc Retrieve variables from $_GET array or from passed in $value array. 23
ad_access ./ad.module
ad_adapi ./ad.module
ad_add ./ad.module Present a list of ad types to choose from. 1
ad_admin_ads ./ad.module Provide a filterable list of advertisements. 1
ad_admin_ads_submit ./ad.module Submit the ad administration update form.
ad_admin_ads_validate ./ad.module Must select an ad if performing an operation.
ad_admin_configure_settings ./ad.module Display a form for the ad module settings. 1
ad_admin_configure_settings_submit ./ad.module Save updated values from settings form.
ad_admin_configure_settings_validate ./ad.module Validate form settings, calling attention to any illogical configurations.
ad_admin_groups_list ./ad.module 1
ad_admin_group_form ./ad.module Returns a form for adding an ad group. 1
ad_admin_group_form_submit ./ad.module Save a newly created ad group.
ad_admin_list ./ad.module Build default ad administration page. 1
ad_adnotifyapi ./ad.module Implement ad notify api _hook.
ad_ad_operations ./ad.module Implementation of hook_ad_operations().
ad_block ./ad.module Drupal _block hook.
ad_build_filter_query ./ad.module Build query for ad administration filters based on session. 1
ad_cache_file_adcacheapi cache/file/ad_cache_file.module Ad module's adcacheapi _hook().
ad_cache_file_build cache/file/ad_cache_file.module Build all required cache files when using the file cache. 2 1
ad_cache_file_cache cache/file/ad_cache_file.inc Keep a copy of the cache in a static. 8
ad_cache_file_close cache/file/ad_cache_file.inc Close the cache file and write updated cache to disk.
ad_cache_file_display_ad cache/file/ad_cache_file.inc Display a given advertisement.
ad_cache_file_get_cache cache/file/ad_cache_file.inc Return the cache structure.
ad_cache_file_get_lock cache/file/ad_cache_file.inc Try and obtain a lock on one of the available cache files. If we already have a lock, simply return the filename. 3 1
ad_cache_file_help cache/file/ad_cache_file.module Drupal _help hook.
ad_cache_file_hook cache/file/ad_cache_file.inc Return hook defintion.
ad_cache_file_id cache/file/ad_cache_file.inc Return an array of aids to choose an advertisement from.
ad_cache_file_increment cache/file/ad_cache_file.inc Increment an advertisement counter.

Pages

Other projects