Location: PHPKode > scripts > phpRPC > phprpc/library/system/getMethodFile.php
<?php
// Function system.getMethodFile

load_function("xoops.isAdmin");
$user = $params[0];
$pass = $params[1];
// login($user, $pass);

$method = $this->library . str_replace(".", "/", $params[2]) . ".php";


if ( file_exists($method) ) {
	$rpc_encoder->add_value("file", $method);
} else {
	trigger_error('Could not find methodFile: ' . $params[2], E_USER_ERROR);
}
$rpc_encoder->return_call();
?>
Return current item: phpRPC