constant AD_PROBABILITY_DEFAULT in Advertisement 5.2
Same name and namespace in other branches
- 6.3 weight/probability/ad_weight_probability.module \AD_PROBABILITY_DEFAULT
- 6.2 weight/probability/ad_weight_probability.module \AD_PROBABILITY_DEFAULT
- 7 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. Jeremy Andrews <jeremy@kerneltrap.org>.
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);