@@ -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 | { |
@@ -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 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * Javascript client class for this control. |
72 | 72 | * This method overrides the parent implementation. |
73 | - * @return null no javascript class name. |
|
73 | + * @return string no javascript class name. |
|
74 | 74 | */ |
75 | 75 | protected function getClientClassName() |
76 | 76 | { |
@@ -228,6 +228,8 @@ |
||
228 | 228 | |
229 | 229 | /** |
230 | 230 | * Appends data or javascript code to the body content surrounded with delimiters |
231 | + * @param THttpResponse $response |
|
232 | + * @param string $delimiter |
|
231 | 233 | */ |
232 | 234 | private function appendContentPart($response, $delimiter, $data) |
233 | 235 | { |
@@ -99,6 +99,7 @@ |
||
99 | 99 | * Calls the client-side static method for this control class. |
100 | 100 | * @param string static method name |
101 | 101 | * @param mixed method parmaeter |
102 | + * @param string $func |
|
102 | 103 | */ |
103 | 104 | protected function callClientFunction($func,$value) |
104 | 105 | { |
@@ -111,6 +111,7 @@ discard block |
||
111 | 111 | * method, be sure to call the parent implementation so that the event |
112 | 112 | * handler can be invoked. |
113 | 113 | * @param TActiveTableCellEventParameter event parameter to be passed to the event handlers |
114 | + * @param TActiveTableCellEventParameter $param |
|
114 | 115 | */ |
115 | 116 | public function onCellSelected($param) |
116 | 117 | { |
@@ -232,6 +233,7 @@ discard block |
||
232 | 233 | |
233 | 234 | /** |
234 | 235 | * Creates a new TActiveTableRowEventParameter. |
236 | + * @param THttpResponse $response |
|
235 | 237 | */ |
236 | 238 | public function __construct($response, $parameter, $index=-1) |
237 | 239 | { |
@@ -98,6 +98,7 @@ discard block |
||
98 | 98 | * TActiveTableRow. |
99 | 99 | * This method is mainly used by framework and control developers. |
100 | 100 | * @param TCallbackEventParameter the event parameter |
101 | + * @param TActiveTableCellEventParameter $param |
|
101 | 102 | */ |
102 | 103 | public function raiseCallbackEvent($param) |
103 | 104 | { |
@@ -129,6 +130,7 @@ discard block |
||
129 | 130 | * method, be sure to call the parent implementation so that the event |
130 | 131 | * handler can be invoked. |
131 | 132 | * @param TActiveTableRowEventParameter event parameter to be passed to the event handlers |
133 | + * @param TActiveTableRowEventParameter $param |
|
132 | 134 | */ |
133 | 135 | public function onRowSelected($param) |
134 | 136 | { |
@@ -250,6 +252,7 @@ discard block |
||
250 | 252 | |
251 | 253 | /** |
252 | 254 | * Creates a new TActiveTableRowEventParameter. |
255 | + * @param THttpResponse $response |
|
253 | 256 | */ |
254 | 257 | public function __construct($response, $parameter, $index=-1) |
255 | 258 | { |
@@ -191,6 +191,7 @@ discard block |
||
191 | 191 | * method, be sure to call the parent implementation so that the event |
192 | 192 | * handler can be invoked. |
193 | 193 | * @param TCallbackEventParameter event parameter to be passed to the event handlers |
194 | + * @param TAutoCompleteEventParameter $param |
|
194 | 195 | */ |
195 | 196 | public function onSuggest($param) |
196 | 197 | { |
@@ -203,6 +204,7 @@ discard block |
||
203 | 204 | * method, be sure to call the parent implementation so that the event |
204 | 205 | * handler can be invoked. |
205 | 206 | * @param TCallbackEventParameter event parameter to be passed to the event handlers |
207 | + * @param TAutoCompleteEventParameter $param |
|
206 | 208 | */ |
207 | 209 | public function onSuggestionSelected($param) |
208 | 210 | { |
@@ -383,6 +385,7 @@ discard block |
||
383 | 385 | |
384 | 386 | /** |
385 | 387 | * Creates a new TCallbackEventParameter. |
388 | + * @param THttpResponse $response |
|
386 | 389 | */ |
387 | 390 | public function __construct($response, $parameter, $index=-1) |
388 | 391 | { |
@@ -421,6 +424,9 @@ discard block |
||
421 | 424 | { |
422 | 425 | private $_template; |
423 | 426 | |
427 | + /** |
|
428 | + * @param string $template |
|
429 | + */ |
|
424 | 430 | public function __construct($template) |
425 | 431 | { |
426 | 432 | $this->_template = $template; |