X. Classkit Functions

導入

These functions allow the dynamic manipulation of PHP classes, at runtime.

インストール手順

このPECL拡張 モジュールはPHPにバンドルされていません。

新規リリース、ダウンロード、ソースファイル、管理者情報、 CHANGELOGのような関連する情報については、次の場所にあります: http://pecl.php.net/package/classkit.

このPECL拡張モジュール のDLL PHPダウンロードページまたは http://snaps.php.net/からダウンロードできます。

実行用の設定

この拡張モジュールは設定ディレクティブを全く定義しません。

リソース型

この拡張モジュールはリソース型を全く定義しません。

定義済みの定数

これらの定数は、この拡張モジュールで定義されており、 この拡張モジュールがPHP内部にコンパイルされているか実行時に動的にロー ドされるかのどちらかの場合のみ使用可能です。

CLASSKIT_ACC_PRIVATE (int)

Marks the method private

CLASSKIT_ACC_PROTECTED (int)

Marks the method protected

CLASSKIT_ACC_PUBLIC (int)

Marks the method public

目次
classkit_import -- Import new class method definitions from a file
classkit_method_add -- Dynamically adds a new method to a given class
classkit_method_copy -- Copies a method from class to another
classkit_method_redefine -- Dynamically changes the code of the given method
classkit_method_remove -- Dynamically removes the given method
classkit_method_rename -- Dynamically changes the name of the given method