You are here

function _debug_echo in Advertisement 6

Same name and namespace in other branches
  1. 5.2 adserve.inc \_debug_echo()
  2. 5 adserve.inc \_debug_echo()
  3. 6.3 adserve.inc \_debug_echo()
  4. 6.2 adserve.inc \_debug_echo()
  5. 7 adserve.inc \_debug_echo()
11 calls to _debug_echo()
adserve_invoke_hook in ./adserve.inc
Invoke adserve hooks, defined in adapi with adserve_HOOK.
adserve_select_ad in ./adserve.inc
Simple default function to randomly select an ad. Provides a hook to allow the definition of external display methods.
ad_cache_file in cache/file/ad_cache_file.inc
This is the actual cache function called by adserve.php that displays ads without bootstrapping Drupal.
ad_cache_file_adserve_select in cache/file/ad_cache_file.inc
ad_cache_file_get_lock in cache/file/ad_cache_file.inc

... See full list

File

./adserve.inc, line 475
Configuration.

Code

function _debug_echo($text) {
  if (adserve_variable('debug')) {
    echo "{$text}<br />\n";
  }
}