PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

基本> <Counter
Last updated: Fri, 10 Oct 2008

view this page in

Counter::setCounterClass

Counter::setCounterClass Counter::getNamed が返すクラスを設定する

説明

static void Counter::setCounterClass ( string $name )

Counter::setCounterClass() は、 Counter::getNamed() が返すオブジェクトのクラスを変更します。 設定するクラスは public コンストラクタを持っていてはいけません。また、 Counter のサブクラスである必要があります。 これらの条件を満たさない場合は fatal エラーが発生します。 これは静的関数です。

パラメータ

name
使用するクラスの名前。


add a note add a note User Contributed Notes
Counter::setCounterClass
There are no user contributed notes for this page.

基本> <Counter
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites