Barbie > Labyrinth-Plugin-Core-5.16 > Labyrinth::Plugin::Hits

Download:
Labyrinth-Plugin-Core-5.16.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 5.16   Source  

NAME ^

Labyrinth::Plugin::Hits - Handles the hit and update stats for page impressions

DESCRIPTION ^

Contains all the page hit handling functionality for the Labyrinth framework.

PUBLIC INTERFACE METHODS ^

GetUpdate

Provides the dates for the last update to the site and the requested page.

SetHits

Records the hit for the current page and photo (if applicable).

HitPages

List of hit stats for site pages.

HitAlbums

List of hit stats for galley albums.

HitPhotos

List of hit stats for galley photos.

HitSelects

Compile contents of the drop downs on hit pages.

PUBLIC INTERFACE METHODS ^

AdminUpdates

List the last site page updates, via the 'AdminUpdates' phrasebook query.

SetUpdates

Store page and site update from current timestamp. Only called internally.

AdminHits

Shorthand method to list all the hit counters for admin use.

Reset

Original method to reset hit counters, such that individual counters older than a given date, are summed and stored in one counter entry.

This is being deprecated in favour of a new script, which will be incorporated here in the future.

SEE ALSO ^

Labyrinth

AUTHOR ^

Barbie, <barbie@missbarbell.co.uk> for Miss Barbell Productions, http://www.missbarbell.co.uk/

COPYRIGHT & LICENSE ^

  Copyright (C) 2002-2014 Barbie for Miss Barbell Productions
  All Rights Reserved.

  This module is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.
syntax highlighting: