You are here

constant AD_PROBABILITY_DEFAULT in Advertisement 7

Same name and namespace in other branches
  1. 5.2 weight/probability/ad_weight_probability.module \AD_PROBABILITY_DEFAULT
  2. 6.3 weight/probability/ad_weight_probability.module \AD_PROBABILITY_DEFAULT
  3. 6.2 weight/probability/ad_weight_probability.module \AD_PROBABILITY_DEFAULT

@file A plug in for the ad.module, allowing an admin to set the probability that a given advertisement will be displayed.

Copyright (c) 2008-2009. Jeremy Andrews <jeremy@tag1consulting.com>.

2 uses of AD_PROBABILITY_DEFAULT
ad_weight_probability_ad_build_cache in weight/probability/ad_weight_probability.module
Implementation of hook_ad_build_cache().
_ad_weight_probability_node_load in weight/probability/ad_weight_probability.module
Helper function, load the probability from the database.

File

weight/probability/ad_weight_probability.module, line 12
A plug in for the ad.module, allowing an admin to set the probability that a given advertisement will be displayed.

Code

define('AD_PROBABILITY_DEFAULT', 100);