@@ -185,6 +185,9 @@ discard block |
||
185 | 185 | ); |
186 | 186 | } |
187 | 187 | |
188 | + /** |
|
189 | + * @param TControl $control |
|
190 | + */ |
|
188 | 191 | private function getSelectionControlType($control) |
189 | 192 | { |
190 | 193 | if (is_string($control)) { |
@@ -199,6 +202,9 @@ discard block |
||
199 | 202 | return 'select'; |
200 | 203 | } |
201 | 204 | |
205 | + /** |
|
206 | + * @param TControl $control |
|
207 | + */ |
|
202 | 208 | private function getSelectionControlIsListType($control) |
203 | 209 | { |
204 | 210 | return $control instanceof TListControl; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
76 | - * @param mixed $value callback response data. |
|
76 | + * @param boolean $value callback response data. |
|
77 | 77 | */ |
78 | 78 | public function setResponseData($value) |
79 | 79 | { |
@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * Calls the client-side static method for this control class. |
99 | 99 | * @param string $func static method name |
100 | - * @param mixed $value method parmaeter |
|
100 | + * @param boolean $value method parmaeter |
|
101 | 101 | */ |
102 | 102 | protected function callClientFunction($func, $value) |
103 | 103 | { |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | * The method raises 'OnSuggest' event. If you override this |
255 | 255 | * method, be sure to call the parent implementation so that the event |
256 | 256 | * handler can be invoked. |
257 | - * @param TCallbackEventParameter $param event parameter to be passed to the event handlers |
|
257 | + * @param TJuiAutoCompleteEventParameter $param event parameter to be passed to the event handlers |
|
258 | 258 | */ |
259 | 259 | public function onSuggest($param) |
260 | 260 | { |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | * The method raises 'OnSuggestionSelected' event. If you override this |
267 | 267 | * method, be sure to call the parent implementation so that the event |
268 | 268 | * handler can be invoked. |
269 | - * @param TCallbackEventParameter $param event parameter to be passed to the event handlers |
|
269 | + * @param TJuiAutoCompleteEventParameter $param event parameter to be passed to the event handlers |
|
270 | 270 | */ |
271 | 271 | public function onSuggestionSelected($param) |
272 | 272 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | |
81 | 81 | /** |
82 | 82 | * Publish the jQuery-ui style Css asset file. |
83 | - * @param file $file name |
|
83 | + * @param string $file name |
|
84 | 84 | * @return string Css file url. |
85 | 85 | */ |
86 | 86 | public function publishJuiStyle($file) |
@@ -126,7 +126,7 @@ |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * Only serialize the options itself, not the corresponding parent control. |
129 | - * @return mixed array with the names of all variables of that object that should be serialized. |
|
129 | + * @return string[] array with the names of all variables of that object that should be serialized. |
|
130 | 130 | */ |
131 | 131 | public function __sleep() |
132 | 132 | { |
@@ -55,7 +55,7 @@ |
||
55 | 55 | /** |
56 | 56 | * @param TPage $page |
57 | 57 | * @param string $data serialized data |
58 | - * @return mixed unserialized state data, null if data is corrupted |
|
58 | + * @return string unserialized state data, null if data is corrupted |
|
59 | 59 | */ |
60 | 60 | public static function unserialize($page, $data) |
61 | 61 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Loads the template from the specified file. |
73 | - * @param mixed $fileName |
|
73 | + * @param string $fileName |
|
74 | 74 | * @return ITemplate template parsed from the specified file, null if the file doesn't exist. |
75 | 75 | */ |
76 | 76 | public function getTemplateByFileName($fileName) |
@@ -167,7 +167,7 @@ |
||
167 | 167 | * as the field name, the property value will be returned. |
168 | 168 | * Otherwise, an exception will be raised. |
169 | 169 | * @param mixed $data data item |
170 | - * @param mixed $field field name |
|
170 | + * @param string $field field name |
|
171 | 171 | * @throws TInvalidDataValueException if the data is invalid |
172 | 172 | * @return mixed data value at the specified field |
173 | 173 | */ |