You are here

function ad_text_display_ad in Advertisement 7

Same name and namespace in other branches
  1. 5.2 text/ad_text.module \ad_text_display_ad()
  2. 5 text/ad_text.module \ad_text_display_ad()
  3. 6.3 text/ad_text.module \ad_text_display_ad()
  4. 6 text/ad_text.module \ad_text_display_ad()
  5. 6.2 text/ad_text.module \ad_text_display_ad()

Function used to display the selected ad.

2 calls to ad_text_display_ad()
_ad_text_node_form in text/ad_text.module
Adapi helper function for displaying a node form.
_ad_text_node_view in text/ad_text.module
Adapi helper function for displaying ad itself.

File

text/ad_text.module, line 36
Enhances the ad module to support static text ads.

Code

function ad_text_display_ad($ad) {
  return theme('ad_text_ad', array(
    'ad' => $ad,
  ));
}