Classkit Functions
簡介
These functions allow the dynamic manipulation of PHP classes, at runtime.
Note: This extension has been replaced by runkit, which is not limited to class manipulation but has function manipulation, as well.
安裝
本 » PECL 擴充功能未包含於 PHP 中。
安裝此 PECL 擴充功能的訊息可在手冊中標題為 PECL 擴充功能安裝的一章中找到。 更多訊息如新版本,下載,原始文件,維護者訊息以及更新日誌等可以在這裡找到: » https://pecl.php.net/package/classkit.
可以從 » PHP 下載頁面或者 » https://snaps.php.net/ 下載此 PECL 擴充功能的 DLL 文件。
執行時期設定
本擴充功能在 php.ini 中未定義任何設定選項。
資源類型
本擴充功能未定義任何資源類型。
Table of Contents
- 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