aggregate

(PHP 4 >= 4.2.0)

aggregate --  メソッドおよびプロパティの動的なクラス/オブジェクト集約を行う

説明

void aggregate ( object object, string class_name )

既存のオブジェクトにあるクラスで定義されたメソッドとプロパティを 集約します。アンダースコア文字 (_) で始まるメソッドとプロパティは、 集約されたクラスではプライベートとみなされ、使用されません。 コンストラクタも集約処理から除外されます。

aggregate_info()、 aggregate_methods()、 aggregate_methods_by_list()、 aggregate_methods_by_regexp()、 aggregate_properties()、 aggregate_properties_by_list()、 aggregate_properties_by_regexp()、 deaggregate() も参照ください。