ZenphotoCMS 1.6.3

hitcounter

Plugin option handling class

Table of Contents

Properties

$defaultbots  : mixed

Methods

__construct()  : mixed
button()  : mixed
getOptionsSupported()  : mixed
handleOption()  : mixed
load_script()  : string
Counts the hitcounter for the page/object

Properties

$defaultbots

public mixed $defaultbots = 'Teoma, alexa, froogle, Gigabot,inktomi, looksmart, URL_Spider_SQL, Firefly, NationalDirectory, Ask Jeeves, TECNOSEEK, InfoSeek, WebFindBot, girafabot, crawler, www.galaxy.com, Googlebot, Scooter, Slurp, msnbot, appie, FAST, WebBug, Spade, ZyBorg, rabaz ,Baiduspider, Feedfetcher-Google, TechnoratiSnoop, Rankivabot, Mediapartners-Google, Sogou web spider, WebAlta Crawler'

Methods

button()

public static button(mixed $buttons) : mixed
Parameters
$buttons : mixed

getOptionsSupported()

public getOptionsSupported() : mixed

handleOption()

public handleOption(mixed $option, mixed $currentValue) : mixed
Parameters
$option : mixed
$currentValue : mixed

load_script()

Counts the hitcounter for the page/object

public static load_script(string $script, bool $valid) : string
Parameters
$script : string
$valid : bool

will be false if the object is not found (e.g. there will be a 404 error);

Return values
string

        
On this page

Search results