You are here

function _simpleads_save_impression in SimpleAds 7

Helper procedure. Saves ad impressions

Parameters

int $nid:

1 call to _simpleads_save_impression()
_simpleads_increase_impression in includes/simpleads.helper.inc
Helper functon. Increases impressions counter.

File

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

Code

function _simpleads_save_impression($node) {
  module_invoke_all('simpleads_ad_impression', 'insert', $node);
}