Zikula_Value_Addons
[ class tree: Zikula_Value_Addons ] [ index: Zikula_Value_Addons ] [ all elements ]

Procedural File: pnadminapi.php

Source Location: /modules/HitCount/pnadminapi.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: pnadminapi.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2002, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
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 ]



Documentation generated on Fri, 18 Jul 2008 21:51:39 +0200 by phpDocumentor 1.4.1