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

search for in the

aggregate_properties> <aggregate_properties_by_list
Last updated: Fri, 03 Oct 2008

view this page in

aggregate_properties_by_regexp

(PHP 4 >= 4.2.0)

aggregate_properties_by_regexp 正規表現を使用して選択したクラスプロパティを、 動的にオブジェクトに集約する

説明

void aggregate_properties_by_regexp ( object $object , string $class_name , string $regexp [, bool $exclude ] )

クラスのプロパティを既存のオブジェクトに集約します。集約するプロパティを 決定するために正規表現を使用します。

アンダースコア文字 (_) で始まる名前のプロパティ (プライベートとみなされます) は、常に対象となりません。

パラメータ

object

class_name

regexp

exclude

オプションのパラメータ exclude で、正規表現にマッチするプロパティを集約する (excludeFALSE の場合。これがデフォルトです) のかマッチしないプロパティを集約する (excludeTRUE) のかを指定します。

返り値

値を返しません。



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

aggregate_properties> <aggregate_properties_by_list
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites