com_print_typeinfo
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
com_print_typeinfo — ディスパッチインターフェイスのために、PHP のクラス定義を出力する
説明
com_print_typeinfo
( object
$comobject
[, string $dispinterface
[, bool $wantsink = FALSE
]] ) : boolこの関数の目的は、イベントシンクに使用するスケルトンクラスの作成を支援することです。 You may also use it to generate a dump of any COM object, provided that it supports enough of the introspection interfaces, and that you know the name of the interface you want to display.
パラメータ
-
comobject -
comobjectは、COM オブジェクトのインスタンスか あるいはタイプライブラリの名前 (com_load_typelib() の規則にしたがって名前解決されます) のいずれかです。 -
dispinterface -
結果を表示したいインターフェイスで、 このインターフェイスは IDispatch を継承したものです。
-
wantsink -
TRUEの場合、対応するシンクインターフェイスが代わりに表示されます。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。