@@ -140,6 +140,7 @@ |
||
140 | 140 | /** |
141 | 141 | * Renders content provided by TJsonResponse::getJsonContent() as |
142 | 142 | * javascript in JSON format. |
143 | + * @param TJsonResponse $service |
|
143 | 144 | */ |
144 | 145 | protected function createJsonResponse($service,$properties,$config) |
145 | 146 | { |
@@ -369,6 +369,7 @@ discard block |
||
369 | 369 | |
370 | 370 | /** |
371 | 371 | * @param string default page path to be served if no explicit page is request |
372 | + * @param string $value |
|
372 | 373 | * @throws TInvalidOperationException if the page service is initialized |
373 | 374 | */ |
374 | 375 | public function setDefaultPage($value) |
@@ -528,6 +529,7 @@ discard block |
||
528 | 529 | * @param array list of GET parameters, null if no GET parameters required |
529 | 530 | * @param boolean whether to encode the ampersand in URL, defaults to true. |
530 | 531 | * @param boolean whether to encode the GET parameters (their names and values), defaults to true. |
532 | + * @param string $pagePath |
|
531 | 533 | * @return string URL for the page and GET parameters |
532 | 534 | */ |
533 | 535 | public function constructUrl($pagePath,$getParams=null,$encodeAmpersand=true,$encodeGetItems=true) |
@@ -670,6 +672,9 @@ discard block |
||
670 | 672 | } |
671 | 673 | } |
672 | 674 | |
675 | + /** |
|
676 | + * @param string $configPath |
|
677 | + */ |
|
673 | 678 | public function loadFromPhp($config,$configPath,$configPagePath) |
674 | 679 | { |
675 | 680 | $this->loadApplicationConfigurationFromPhp($config,$configPath); |
@@ -683,6 +688,8 @@ discard block |
||
683 | 688 | * @param TXmlElement config xml element |
684 | 689 | * @param string the directory containing this configuration |
685 | 690 | * @param string the page path that the config XML is associated with. The page path doesn't include the page name. |
691 | + * @param TXmlDocument $dom |
|
692 | + * @param string $configPath |
|
686 | 693 | */ |
687 | 694 | public function loadFromXml($dom,$configPath,$configPagePath) |
688 | 695 | { |
@@ -258,6 +258,9 @@ discard block |
||
258 | 258 | */ |
259 | 259 | class TRpcException extends TException |
260 | 260 | { |
261 | + /** |
|
262 | + * @param string $message |
|
263 | + */ |
|
261 | 264 | public function __construct($message, $errorCode = -1) |
262 | 265 | { |
263 | 266 | $this->setErrorCode($errorCode); |
@@ -334,7 +337,7 @@ discard block |
||
334 | 337 | } |
335 | 338 | |
336 | 339 | /** |
337 | - * @return rpc server instance |
|
340 | + * @return TRpcServer server instance |
|
338 | 341 | */ |
339 | 342 | public function getRpcServer() |
340 | 343 | { |
@@ -366,6 +369,7 @@ discard block |
||
366 | 369 | /** |
367 | 370 | * @param string request payload |
368 | 371 | * Processed the request ans returns the response, if any |
372 | + * @param string $requestPayload |
|
369 | 373 | * @return processed response |
370 | 374 | * @abstract |
371 | 375 | */ |
@@ -641,7 +645,6 @@ discard block |
||
641 | 645 | /** |
642 | 646 | * Registers a new RPC method and handler details |
643 | 647 | * @param string $methodName |
644 | - * @param array $handlerDetails containing the callback handler |
|
645 | 648 | */ |
646 | 649 | public function addMethod($methodName, $methodDetails) |
647 | 650 | { |
@@ -31,6 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Constructor. Attach a response to be adapted. |
33 | 33 | * @param THttpResponse the response object the adapter is to attach to. |
34 | + * @param THttpResponse $response |
|
34 | 35 | */ |
35 | 36 | public function __construct($response) |
36 | 37 | { |
@@ -265,6 +265,7 @@ discard block |
||
265 | 265 | * If true, make sure the methods {@link _open}, {@link _close}, {@link _read}, |
266 | 266 | * {@link _write}, {@link _destroy}, and {@link _gc} are overridden in child |
267 | 267 | * class, because they will be used as the callback handlers. |
268 | + * @param boolean $value |
|
268 | 269 | */ |
269 | 270 | public function setUseCustomStorage($value) |
270 | 271 | { |
@@ -527,6 +528,7 @@ discard block |
||
527 | 528 | * Returns the session variable value with the session variable name. |
528 | 529 | * This method is exactly the same as {@link offsetGet}. |
529 | 530 | * @param mixed the session variable name |
531 | + * @param string $key |
|
530 | 532 | * @return mixed the session variable value, null if no such variable exists |
531 | 533 | */ |
532 | 534 | public function itemAt($key) |
@@ -539,6 +541,7 @@ discard block |
||
539 | 541 | * Note, if the specified name already exists, the old value will be removed first. |
540 | 542 | * @param mixed session variable name |
541 | 543 | * @param mixed session variable value |
544 | + * @param string $key |
|
542 | 545 | */ |
543 | 546 | public function add($key,$value) |
544 | 547 | { |
@@ -175,6 +175,7 @@ |
||
175 | 175 | |
176 | 176 | /** |
177 | 177 | * @param string state tracker class. |
178 | + * @param string $value |
|
178 | 179 | */ |
179 | 180 | public function setStateTracker($value) |
180 | 181 | { |
@@ -252,7 +252,7 @@ |
||
252 | 252 | } |
253 | 253 | |
254 | 254 | /** |
255 | - * @return boolean true to observe changes. |
|
255 | + * @return boolean|string true to observe changes. |
|
256 | 256 | */ |
257 | 257 | public function getObserveChanges() |
258 | 258 | { |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * No client class for this control. |
68 | 68 | * This method overrides the parent implementation. |
69 | - * @return null no javascript class name. |
|
69 | + * @return string no javascript class name. |
|
70 | 70 | */ |
71 | 71 | protected function getClientClassName() |
72 | 72 | { |
@@ -79,6 +79,7 @@ |
||
79 | 79 | |
80 | 80 | /** |
81 | 81 | * @param string the URL of the image file |
82 | + * @param string $value |
|
82 | 83 | */ |
83 | 84 | public function setImageUrl($value) |
84 | 85 | { |