You are here

function _simpleads_increase_impression in SimpleAds 7

Helper functon. Increases impressions counter.

@global object $user

Parameters

object $node:

3 calls to _simpleads_increase_impression()
simpleads_preprocess_simpleads_flash_element in includes/simpleads.theme.inc
Preprocess for simpleads_flash_element.tpl.php
simpleads_preprocess_simpleads_img_element in includes/simpleads.theme.inc
Preprocess for simpleads_img_element.tpl.php
simpleads_preprocess_simpleads_text_element in includes/simpleads.theme.inc
Preprocess for simpleads_text_element.tpl.php

File

includes/simpleads.helper.inc, line 244
SimpleAds Helper functions.

Code

function _simpleads_increase_impression($node) {
  global $user;
  _simpleads_save_impression($node);
}