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

search for in the

基本> <Counter::getNamed
[edit] Last updated: Fri, 25 May 2012

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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites