Notatka: Ta funkcja nie może być użyta do manipulowania aktualnie wykonywaną metodą.
| Ostrzeżenie |
Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko. |
classnameThe class in which to redefine the method
methodnameThe name of the method to redefine
argsComma-delimited list of arguments for the redefined method
code
The new code to be evaluated when methodname
is called
flagsThe redefined method can be CLASSKIT_ACC_PUBLIC, CLASSKIT_ACC_PROTECTED or CLASSKIT_ACC_PRIVATE
Notatka: This parameter is only used as of PHP 5, because, prior to this, all methods were public.
| classkit_method_add() |
| classkit_method_copy() |
| classkit_method_remove() |
| classkit_method_rename() |
| Poprzedni | Spis treści | Następny |
| classkit_method_copy | Początek rozdziału | classkit_method_remove |