function _simpleads_save_click in SimpleAds 7
Helper procedure. Saves ad clicks.
Parameters
int $nid:
1 call to _simpleads_save_click()
- _simpleads_redirect in ./
simpleads.module - Menu callback. Redirect Ads. If user is Admin -> redirect to Ad edit page, otherwise redirect to target URL.
File
- includes/
simpleads.helper.inc, line 191 - SimpleAds Helper functions.
Code
function _simpleads_save_click($node) {
module_invoke_all('simpleads_ad_click', 'insert', $node);
}