diff options
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/quickstart/protected/pages/Services/RpcService.page | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/pages/Services/RpcService.page b/demos/quickstart/protected/pages/Services/RpcService.page index f5d38c84..c7558813 100755 --- a/demos/quickstart/protected/pages/Services/RpcService.page +++ b/demos/quickstart/protected/pages/Services/RpcService.page @@ -26,7 +26,7 @@ To use <tt>TRpcService</tt>, configure it in the application specification like The example specifies a RPC service provider named <tt>stockquote</tt> which implements the <tt>getPrice</tt> RPC method in the provider class <tt>StockQuote</tt>,
</p>
<com:TTextHighlighter Language="php" CssClass="source block-content">
-class StockQuote
+class StockQuote extends TRpcApiProvider
{
/**
* @param string $symbol the symbol of the stock
@@ -35,7 +35,7 @@ class StockQuote */
public function getPrice($symbol)
{
- ....return stock price for $symbol
+ //....return stock price for $symbol
}
/**
|