📄 internals2.counter.counter-class.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>The Counter class</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="internals2.counter.examples.objective.html">Objective interface</a></div> <div class="next" style="text-align: right; float: right;"><a href="internals2.counter.counter-class.construct.html">Counter::__construct</a></div> <div class="up"><a href="internals2.counter.html">The "counter" Extension - A Continuing Example</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1 class="title">The Counter class</h1> <div class="partintro"> <div id="internals2.counter.counter-class.intro" class="section"> <h2 class="title">Introduction</h2> <p class="simpara"> Represents a single counter object. </p> </div> <div id="internals2.counter.counter-class.synopsis" class="section"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"><b class="classname">Counter</b></div> <div class="classsynopsisinfo"> <span class="ooclass"><b class="classname">Counter</b></span> {</div> <div class="constructorsynopsis dc-description"> <span class="methodname"><b><a href="internals2.counter.counter-class.construct.html" class="function">Counter::__construct</a></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span> [, <span class="methodparam"><span class="type">integer</span> <tt class="parameter">$initial_value</tt></span> [, <span class="methodparam"><span class="type">integer</span> <tt class="parameter">$flags</tt></span> ]] )</div> <div class="methodsynopsis dc-description"> <span class="type">integer</span> <span class="methodname"><b><a href="internals2.counter.counter-class.getValue.html" class="function">Counter::getValue</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><a href="internals2.counter.counter-class.bumpValue.html" class="function">Counter::bumpValue</a></b></span> ( <span class="methodparam"><span class="type">integer</span> <tt class="parameter">$offset</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">void</span> <span class="methodname"><b><a href="internals2.counter.counter-class.resetValue.html" class="function">Counter::resetValue</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">mixed</span> <span class="methodname"><b><a href="internals2.counter.counter-class.getMeta.html" class="function">Counter::getMeta</a></b></span> ( <span class="methodparam"><span class="type">integer</span> <tt class="parameter">$attribute</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="modifier">static</span> <span class="type">Counter</span> <span class="methodname"><b><a href="internals2.counter.counter-class.getNamed.html" class="function">Counter::getNamed</a></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="modifier">static</span> <span class="type">void</span> <span class="methodname"><b><a href="internals2.counter.counter-class.setCounterClass.html" class="function">Counter::setCounterClass</a></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span> )</div> }</div> </div> </div> <h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="internals2.counter.counter-class.construct.html">Counter::__construct</a> 鈥
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -