TphpAPI::RemoteMethod

TphpAPI::RemoteMethod adds a method call to a query object. This enables the one query object to house more than one method call.

function RemoteMethod(
   $methodName,
   $interface,
   $parameters = NULL
)

Parameters

methodName Name of the method, for readability we not using method ids, the name will be matched by the API.
interface The expect interface version for the parameter format.
parameters php structured array

Return Values

Returns a php TVariable if success, else it returns a formated error string.

Remarks

Example Use
$parameters["TaskID"] = (int)$_GET["TaskID"];
if($parameters["TaskID"] != 0) $TexasAPI->RemoteMethod("Get Task Details",1,$parameters);
$results = $TexasAPI->ExecuteMethods();
if($results == NULL)
   $results = $TexasAPI->GetResults("Get Task Details");
else echo "<b>Method Error:-</b><br/>"
	. str_replace("\n","<br/>",($results == NULL ? $outcomeResults : $results))
	. "<p></p>\n";

Also See

ExecuteMethods, GetResults
 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript