From 4b74caee2b905dbf7f334ee5b1ef81134f2ffe79 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 8 Apr 2015 21:20:03 +0200 Subject: Fixed quickstart sample for RpcService --- demos/quickstart/protected/pages/Services/RpcService.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/quickstart/protected/pages') 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 TRpcService, configure it in the application specification like The example specifies a RPC service provider named stockquote which implements the getPrice RPC method in the provider class StockQuote,

-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 } /** -- cgit v1.2.3