ZenphotoCMS 1.6.5

hitcounter

Table of Contents

Classes

hitcounter
Plugin option handling class

Constants

OFFSET_PATH  = 3

Functions

getHitcounter()  : string
returns the hitcounter for the current page or for the object passed
getTotalHitcounter()  : int
Gets the total hitcounter sum of one or several items

Constants

Functions

getHitcounter()

returns the hitcounter for the current page or for the object passed

getHitcounter([object $obj = NULL ]) : string
Parameters
$obj : object = NULL

the album or page object for which the hitcount is desired

Return values
string

getTotalHitcounter()

Gets the total hitcounter sum of one or several items

getTotalHitcounter([array<string|int, mixed> $items = array() ]) : int
Parameters
$items : array<string|int, mixed> = array()

an array with one or more item table names, e.g. array('albums', 'images', 'news', 'news_categories', 'pages')

Tags
author

Malte Müller (acrylian)

since
1.5.3
Return values
int

        
On this page

Search results