ZenphotoCMS 1.6.x

hitcounter.php

Provides automatic hitcounter counting for Zenphoto objects

Tags
author

Stephen Billard (sbillard), Malte Müller (acrylian)

Interfaces, Classes, Traits and Enums

hitcounter
Plugin option handling class

Table of Contents

OFFSET_PATH  = 3
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

ZenphotoCMS 1.5.3

Return values
int

Search results