Manuál PHP | ||
---|---|---|
Předcházející | Další |
(no version information, might be only in CVS)
classkit_method_redefine -- Dynamically changes the code of the given methodPoznámka: Tuto funkci nelze použít k manipulaci s aktuálně běžící metodou (nebo metodou v řetězu).
Varování |
Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí. |
The class in which to redefine the method
The name of the method to redefine
Comma-delimited list of arguments for the redefined method
The new code to be evaluated when methodname is called
The redefined method can be CLASSKIT_ACC_PUBLIC, CLASSKIT_ACC_PROTECTED or CLASSKIT_ACC_PRIVATE
Poznámka: 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() |
Předcházející | Domů | Další |
classkit_method_copy | Nahoru | classkit_method_remove |