Procedural File: pnadminapi.php
Source Location: /HitCount/pnadminapi.php
Page Details:
Zikula Application Framework
Tags:
hitcount_adminapi_create [line 22]
mixed hitcount_adminapi_create(
$args['objectid'] $args, $args['extrainfo'] 1, $args['modname'] 2, $args['hits'] 3)
|
|
create a new hitcount item (= create hook for type 'item')
Tags:
Parameters
| $args['extrainfo'] |
1 |
extra information |
| $args['modname'] |
2 |
name of the calling module (not used in hook calls) |
| $args['hits'] |
3 |
optional hit count for the item (not used in hook calls) |
| $args['objectid'] |
$args |
ID of the object |
hitcount_adminapi_delete [line 76]
bool hitcount_adminapi_delete(
$args['objectid'] $args, $args['extrainfo'] 1, $args['modname'] 2)
|
|
delete a hitcount item (delete hook for type 'item')
Tags:
Parameters
| $args['extrainfo'] |
1 |
extra information |
| $args['modname'] |
2 |
name of the calling module (not used in hook calls) |
| $args['objectid'] |
$args |
ID of the object |
HitCount_adminapi_remove [line 194]
array HitCount_adminapi_remove(
$args['extrainfo'] $args)
|
|
clean up hits for a removed module
Tags:
Parameters
| $args['extrainfo'] |
$args |
array extrainfo array |
hitcount_adminapi_update [line 122]
mixed hitcount_adminapi_update(
$args['modname'] $args, $args['objectid'] 1, $args['extrainfo'] 2, $args['hits'] 3)
|
|
update a hitcount item (used by display hook hitcount_user_display)
Tags:
Parameters
| $args['objectid'] |
1 |
ID of the object |
| $args['extrainfo'] |
2 |
extra information (unused here) |
| $args['hits'] |
3 |
(optional) hit count for the item |
| $args['modname'] |
$args |
name of the calling module (see _user_display) |