>> YANA 4 PHP Framework >> Docs For Class Counter

Class Counter

Description

Counter

  • access: public

Located in /includes/class_counter.php


	
			

Method Summary

Counter Counter ([string $filename = ""], [int $use_ip = YANA_COUNTER_USE_IP])
int count (string $id, [string $info = ""], [int $ammount = 1])
array get ([string $id = "*"])
mixed getCount ([string $id = "*"])
mixed getInfo ([string $id = "*"])

Methods

Constructor Counter
Counter Counter ([string $filename = ""], [int $use_ip = YANA_COUNTER_USE_IP])

constructor

Name Type Description
$filename string (optional)
$use_ip int (optional) default = YANA_COUNTER_USE_IP
count
int count (string $id, [string $info = ""], [int $ammount = 1])

count

  • access: public
Name Type Description
$id string
$info string (optional)
$ammount int (optional) default = 1
get
array get ([string $id = "*"])

get

  • access: public
Name Type Description
$id string (optional)
getCount
mixed getCount ([string $id = "*"])

getCount

  • access: public
Name Type Description
$id string (optional)
getInfo
mixed getInfo ([string $id = "*"])

getInfo

  • access: public
Name Type Description
$id string (optional)

Documentation generated on Sat, 16 Sep 2006 17:05:55 +0200 by phpDocumentor 1.3.0RC4

yana author: Thomas MeyerHomepage: www.all-community.de/pub