PHP-manual | ||
---|---|---|
Föregående | Nästa |
(no version information, might be only in CVS)
runkit_method_add -- Dynamically adds a new method to a given classVarning |
Den h�r funktionen �r EXPERIMENTELL. Dess beteende, namnet p� den, och allt annat dokumenterat om den h�r funktionen kan �ndras i framtida utg�var av PHP. Anv�nd den p� egen risk. |
The class to which this method will be added
The name of the method to add
Comma-delimited list of arguments for the newly-created method
The code to be evaluated when methodname is called
The type of method to create, can be RUNKIT_ACC_PUBLIC, RUNKIT_ACC_PROTECTED or RUNKIT_ACC_PRIVATE
Not: This parameter is only used as of PHP 5, because, prior to this, all methods were public.
runkit_method_copy() |
runkit_method_redefine() |
runkit_method_remove() |
runkit_method_rename() |
runkit_function_add() |
Föregående | Hem | Nästa |
runkit_lint | Upp | runkit_method_copy |