nodeviewcount.pages.inc in Node view count 7
Same filename and directory in other branches
File
includes/pages/nodeviewcount.pages.incView source
<?php
/**
* 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. |