![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
call_user_method(PHP 3 >= 3.0.3, PHP 4, PHP 5) call_user_method -- Call a user method on an specific object [deprecated]Descriptionmixed call_user_method ( string method_name, object &obj [, mixed parameter [, mixed ...]] )
Calls the method referred by method_name from the user defined obj object. An example of usage is below, where we define a class, instantiate an object and use call_user_method() to call indirectly its print_info method.
See also call_user_func_array(), and call_user_func(). Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|