nodeviewcount.pages.inc in Node view count 7.2
Same filename and directory in other branches
Contains ajax callback.
File
includes/pages/nodeviewcount.pages.incView source
<?php
/**
* @file
* Contains ajax callback.
*/
/**
* Page callback: Add node view ajax.
*
* @param object $node
* The node for counting.
* @param object $user
* The user for counting.
*/
function nodeviewcount_count_node_view_ajax($node, $user) {
if ($node && $user) {
nodeviewcount_insert_node_view($node->nid, $user->uid);
}
}
Functions
Name | Description |
---|---|
nodeviewcount_count_node_view_ajax | Page callback: Add node view ajax. |