| Overview Package Tree | HessianPHP |
| FRAMES NO FRAMES | |
| SUMMARY: FIELD METHOD | DETAIL: FIELD METHOD |
HessianPHP.Server.ServiceInfoPHP5
class ServiceInfoPHP5
Displays a web page with information about the real service objects and handles calls to it's methods PHP5 version uses the new Reflection API
| Field Summary |
|---|
| public var | $service |
| public var | $info |
| public var | $name |
| public var | $underscoreInclude |
| Method Summary |
|---|
| public void | registerObject Registers the wrapped object that will perform the methods of the web service. |
| public void | displayInfo |
| protected mixed | callMethod Dynamically calls a method in the wrapped object passing parameters from the request and returns the result. |
| private void | isMethodCallable |
| Field Detail |
|---|
public var $servicepublic var $infopublic var $namepublic var $underscoreInclude = false
| Method Detail |
|---|
public void registerObject(object service)
Registers the wrapped object that will perform the methods of the web service.
service - Real service object public void displayInfo()
protected mixed callMethod(string method,
array params,
var $writer)Dynamically calls a method in the wrapped object passing parameters from the request and returns the result.
Generates a fault if the method does not exist or cannot be invoked.
method - Name of the method params - Array of parameters to be passed $writerprivate void isMethodCallable(var $method)
$method| Overview Package Tree | HessianPHP |
| FRAMES NO FRAMES | |
| SUMMARY: FIELD METHOD | DETAIL: FIELD METHOD |