PEAR_Remote PEAR_REST

PEAR_Remote

PEAR Manual


PEAR_Remote::call

PEAR_Remote::call() -- Execute a server function

Synopsis

      require_once 'PEAR/Remote.php';
     

mixed PEAR_Remote::call ( string $method , mixed $args,... )

Description

Sends a remote procedure call to a package server and returns the result.

Parameter

string $method

Name of the server method

mixed $args,...

server method specific parameters

Return value

mixed - result of the executed server method

Throws

Possible PEAR_Error values

Error code Error value Meaning Solution
"

Note

This function can not be called statically.



PEAR_Remote PEAR_REST

PEAR_Remote

PEAR Manual