You are here

function ad_html_display_ad in Advertisement 7

Same name and namespace in other branches
  1. 5.2 html/ad_html.module \ad_html_display_ad()
  2. 5 html/ad_html.module \ad_html_display_ad()
  3. 6.3 html/ad_html.module \ad_html_display_ad()
  4. 6 html/ad_html.module \ad_html_display_ad()
  5. 6.2 html/ad_html.module \ad_html_display_ad()

Function used to display the selected ad.

2 calls to ad_html_display_ad()
_ad_html_node_form in html/ad_html.module
Adapi helper function for displaying a node form.
_ad_html_node_view in html/ad_html.module
Helper function, display the html ad as a node.

File

html/ad_html.module, line 15
Enhances the ad module to support html ads.

Code

function ad_html_display_ad($ad) {
  return theme('ad_html_ad', array(
    'ad' => $ad,
  ));
}