Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page pnuser.php

Procedural File: pnuser.php

Source Location: /HitCount/pnuser.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnuser.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








hitcount_user_display [line 53]

string hitcount_user_display( $args['objectid'] $args, $args['extrainfo'] 1)

add a hit for a specific item, and display the hitcount (= display hook)

(use pnVarSetCached('Hooks.hitcount','save', 1) to tell hitcount *not* to display the hit count, but to save it in 'Hooks.hitcount', 'value')




Tags:

return:  output with hitcount information


Parameters

$args['extrainfo']   1   not particularly relevant here
$args['objectid']   $args   ID of the item this hitcount is for
[ Top ]



hitcount_user_main [line 16]

void hitcount_user_main( )

the main user function (nothing interesting here - might be removed)





[ Top ]


Packages:

Files:

Classes: