(PHP 4, PHP 5)
Call a user method on an specific object
mixed call_user_method ( string $method_name, object &$obj [, mixed $parameter [, mixed $... ]] )
Parameters:
method_name
The method name being called.
obj
The object that method_name
is being called on.
parameter ...
The optional parameters.
Examples:
call_user_method() alternative
1 2 3 | <?php call_user_func( array ( $obj , $method_name ), $parameter /* , ... */ ); ?> |
See also:
Please login to continue.