| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
ReflectionClass::export(PHP 5, PHP 7) ReflectionClass::export — クラスをエクスポートする 説明調べているクラスをエクスポートします。 パラメータ
返り値
例
例1 ReflectionClass::export() の基本的な使用例
<?php上の例の出力は、 たとえば以下のようになります。
Class [ <user> class Apple ] {
@@ php shell code 1-8
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [2] {
Property [ <default> public $var1 ]
Property [ <default> public $var2 ]
}
- Methods [1] {
Method [ <user> public method type ] {
@@ php shell code 5 - 7
}
}
}
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「ReflectionClass::export - クラスをエクスポートする」をGoogle検索
|