Objective interface
Counter::__construct
The "counter" Extension - A Continuing Example
php 手册
|
脚本学堂
|
脚本编程
|
网站编程
|
系统管理
|
服务器配置
|
数据库管理
|
Php教程
|
python教程
|
正则表达式
|
批处理脚本
|
Centos教程
|
Linux基础教程
The Counter class
简介
Represents a single counter object.
Class synopsis
Counter
Counter
{
__construct
(
string
$name
[,
integer
$initial_value
[,
integer
$flags
]] )
integer
getValue
(
void
)
void
bumpValue
(
integer
$offset
)
void
resetValue
(
void
)
mixed
getMeta
(
integer
$attribute
)
static
Counter
getNamed
(
string
$name
)
static
void
setCounterClass
(
string
$name
)
}
Table of Contents
Counter::__construct
— Creates an instance of a Counter which maintains a single numeric value.
Counter::getValue
— Get the current value of a counter.
Counter::bumpValue
— Change the current value of a counter.
Counter::resetValue
— Reset the current value of a counter.
Counter::getMeta
— Return a piece of metainformation about a counter.
Counter::getNamed
— Retrieve an existing named counter.
Counter::setCounterClass
— Set the class returned by Counter::getNamed.
Objective interface
Counter::__construct
The "counter" Extension - A Continuing Example
php 手册
|
脚本学堂
|
脚本编程
|
网站编程
|
系统管理
|
服务器配置
|
数据库管理
|
Php教程
|
python教程
|
正则表达式
|
批处理脚本
|
Centos教程
|
Linux基础教程