summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Services/RpcService.page
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-04-08 21:20:03 +0200
committerDavid <ottodavid@gmx.net>2015-04-08 21:20:03 +0200
commit4b74caee2b905dbf7f334ee5b1ef81134f2ffe79 (patch)
treee4a56f636d7fc15b40cb94a5b54f10978535adc6 /demos/quickstart/protected/pages/Services/RpcService.page
parent2c14337428ee4d79a6e01a432c246f0b589e42df (diff)
Fixed quickstart sample for RpcService
Diffstat (limited to 'demos/quickstart/protected/pages/Services/RpcService.page')
-rwxr-xr-xdemos/quickstart/protected/pages/Services/RpcService.page4
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
}
/**