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

Docs for page pnadminapi.php

Procedural File: pnadminapi.php

Source Location: /HitCount/pnadminapi.php

Classes:



Page Details:

Zikula Application Framework



Tags:

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








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:

return:  hitcount item ID on success, void on failure


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
[ Top ]



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:

return:  true on success, false on failure


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
[ Top ]



HitCount_adminapi_remove [line 194]

array HitCount_adminapi_remove( $args['extrainfo'] $args)

clean up hits for a removed module



Tags:

return:  extrainfo array


Parameters

$args['extrainfo']   $args   array extrainfo array
[ Top ]



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:

return:  the new hitcount for this item, or void on failure


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)
[ Top ]


Packages:

Files:

Classes: