@@ -479,7 +479,7 @@ |
||
| 479 | 479 | |
| 480 | 480 | /** |
| 481 | 481 | * Flush the response contents and headers. |
| 482 | - * @param mixed $continueBuffering |
|
| 482 | + * @param boolean $continueBuffering |
|
| 483 | 483 | */ |
| 484 | 484 | public function flush($continueBuffering = true) |
| 485 | 485 | { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * Initializes the module. |
| 122 | 122 | * This method is required by IModule. |
| 123 | 123 | * If AutoStart is true, the session will be started. |
| 124 | - * @param TXmlElement $config module configuration |
|
| 124 | + * @param null|TXmlElement $config module configuration |
|
| 125 | 125 | */ |
| 126 | 126 | public function init($config) |
| 127 | 127 | { |
@@ -539,7 +539,7 @@ discard block |
||
| 539 | 539 | /** |
| 540 | 540 | * Returns the session variable value with the session variable name. |
| 541 | 541 | * This method is exactly the same as {@link offsetGet}. |
| 542 | - * @param mixed $key the session variable name |
|
| 542 | + * @param string $key the session variable name |
|
| 543 | 543 | * @return mixed the session variable value, null if no such variable exists |
| 544 | 544 | */ |
| 545 | 545 | public function itemAt($key) |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | /** |
| 551 | 551 | * Adds a session variable. |
| 552 | 552 | * Note, if the specified name already exists, the old value will be removed first. |
| 553 | - * @param mixed $key session variable name |
|
| 553 | + * @param string $key session variable name |
|
| 554 | 554 | * @param mixed $value session variable value |
| 555 | 555 | */ |
| 556 | 556 | public function add($key, $value) |
@@ -414,7 +414,7 @@ |
||
| 414 | 414 | } |
| 415 | 415 | |
| 416 | 416 | /** |
| 417 | - * @return THttpRequestUrlFormat the format of URLs. Defaults to THttpRequestUrlFormat::Get. |
|
| 417 | + * @return string the format of URLs. Defaults to THttpRequestUrlFormat::Get. |
|
| 418 | 418 | */ |
| 419 | 419 | public function getUrlFormat() |
| 420 | 420 | { |
@@ -235,8 +235,8 @@ |
||
| 235 | 235 | |
| 236 | 236 | /** |
| 237 | 237 | * Appends data or javascript code to the body content surrounded with delimiters |
| 238 | - * @param mixed $response |
|
| 239 | - * @param mixed $delimiter |
|
| 238 | + * @param \Prado\Web\THttpResponse $response |
|
| 239 | + * @param string $delimiter |
|
| 240 | 240 | * @param mixed $data |
| 241 | 241 | */ |
| 242 | 242 | private function appendContentPart($response, $delimiter, $data) |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * named values for the base active controls. |
| 57 | 57 | * @param string $name option name. |
| 58 | 58 | * @param mixed $value new value. |
| 59 | - * @param mixed $default default value. |
|
| 59 | + * @param string|boolean $default default value. |
|
| 60 | 60 | * @return mixed options value. |
| 61 | 61 | */ |
| 62 | 62 | protected function setOption($name, $value, $default = null) |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * Gets an option named value. Options are used to store and retrive |
| 72 | 72 | * named values for the base active controls. |
| 73 | 73 | * @param string $name option name. |
| 74 | - * @param mixed $default default value. |
|
| 74 | + * @param string|boolean $default default value. |
|
| 75 | 75 | * @return mixed options value. |
| 76 | 76 | */ |
| 77 | 77 | protected function getOption($name, $default = null) |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | - * @return TPage the page containing the attached control. |
|
| 92 | + * @return \Prado\Web\UI\TPage the page containing the attached control. |
|
| 93 | 93 | */ |
| 94 | 94 | protected function getPage() |
| 95 | 95 | { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * Is is true if the control is initilized, and is a callback request and |
| 126 | 126 | * the {@link setEnableUpdate EnableUpdate} property is true and |
| 127 | 127 | * the page is not loading post data. |
| 128 | - * @param mixed $bDontRequireVisibility |
|
| 128 | + * @param boolean $bDontRequireVisibility |
|
| 129 | 129 | * @return bool true if the callback response is allowed update |
| 130 | 130 | * client-side contents. |
| 131 | 131 | */ |
@@ -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 | { |