PHP. Руководство по PHP. 2005
runkit_method_copy

runkit_method_copy
(no version information, might be only in CVS)runkit_method_copy -- Copies a method from class to another
Описание
bool runkit_method_copy (string dClass, string dMethod, string sClass [, string sMethod])Внимание |
Эта функция является ЭКСПЕРИМЕНТАЛЬНОЙ. Поведение этой функции, ее имя и относящаяся к ней документация могут измениться в последующих версиях PHP без уведомления. Используйте эту функцию на свой страх и риск. |
Список параметров
- dClass
-
Destination class for copied method
- dMethod
-
Destination method name
- sClass
-
Source class of the method to copy
- sMethod
-
Name of the method to copy from the source class. If this parameter is omitted, the value of dMethod is assumed.
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Примеры
Смотрите также
runkit_method_add() |
runkit_method_redefine() |
runkit_method_remove() |
runkit_method_rename() |
runkit_function_copy() |

![]() | ||
|
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.
⇪